|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.server.victory.LastManStandingVictory
public class LastManStandingVictory
implementation of "last player/team standing"
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface megamek.server.victory.Victory |
|---|
Victory.Result |
| Constructor Summary | |
|---|---|
LastManStandingVictory()
|
|
| Method Summary | |
|---|---|
Victory.Result |
victory(IGame game,
java.util.HashMap<java.lang.String,java.lang.Object> ctx)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LastManStandingVictory()
| Method Detail |
|---|
public Victory.Result victory(IGame game,
java.util.HashMap<java.lang.String,java.lang.Object> ctx)
victory in interface Victorygame - - the game (state) we are playingctx - - a map Strings to simple serializable objects (preferably
Integers , Strings ,Doubles etc) which are used to store state
between executions if such feature is absolutely required.. as
a key you should use something atleast class- specific to
limit namespace collisions
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||