文件名称:ttt
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-12-06
- 文件大小:
- 10kb
- 下载次数:
- 0次
- 提 供 者:
- 万*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在一场足球比赛中,主教练需要根据场上的情况进行阵型的调整。比赛开始时,主教练排出4-4-2阵型,称为“平衡阵型”;当己方被对手进球后,比分处于落后状态,将阵型换成3-4-3阵型,称为“进攻阵型”;一旦己方进了球,比分领先时,将阵型换成 5-4-1 阵型,称为“防守阵型”。使用状态模式,设计一个程序,模拟阵型的调整过程-In a football game, the coach needs to be adjusted according to the formation of the court case. When the game started, the coach 4-4-2 formation, called "balanced formation" When the opponents goal one s own being, the score in a backward state, will replace a 3-4-3 formation, called "offensive formation " Once one s own into the ball, leading the score, it will be replaced with a 5-4-1 formation, known as the" defensive formation. "Use state model to design a program to simulate the formation of the adjustment process
(系统自动生成,下载前可以参看下载内容)
下载文件列表
状态模式\.classpath
........\.project
........\.settings\org.eclipse.jdt.core.prefs
........\bin\AttackState.class
........\...\BalanceState.class
........\...\Client.class
........\...\DefendState.class
........\...\Formation.class
........\...\State.class
........\src\AttackState.java
........\...\BalanceState.java
........\...\Client.java
........\...\DefendState.java
........\...\Formation.java
........\...\State.java
........\bin\状态模式
........\src\状态模式
........\.settings
........\bin
........\src
状态模式