Package | Description |
---|---|
org.bitbrawl.foodfight.field |
Classes and interfaces representing objects and properties of the game field.
|
Modifier and Type | Method | Description |
---|---|---|
static MatchType |
MatchType.byNumberOfPlayers(int numPlayers) |
Returns the match type that has the given number of players.
|
MatchType |
Field.getMatchType() |
Returns the type of match being played on this field.
|
static MatchType |
MatchType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
MatchType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|