|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tankbattles.simulation.mission.AbstractMissionSimulator sample.mission.DeathMatch
public class DeathMatch
Deathmatch implementation for a mission simulator. Evaluates if there's only one team alive, and if so sinalizes as finished.
Constructor Summary | |
---|---|
DeathMatch()
|
Method Summary | |
---|---|
void |
update()
Called by the mission simulator loop for evaluanting the goals. |
Methods inherited from class net.sf.tankbattles.simulation.mission.AbstractMissionSimulator |
---|
createInstance, getMission, isFinished, run |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeathMatch()
Method Detail |
---|
public void update()
update
in class AbstractMissionSimulator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |