Package | Description |
---|---|
org.bitbrawl.foodfight.controller |
Classes for working with the player controllers, separate from the game
field.
|
org.bitbrawl.foodfight.field |
Classes and interfaces representing objects and properties of the game field.
|
Modifier and Type | Method | Description |
---|---|---|
Controller.Action |
Controller.playAction(Field field,
Team team,
Player player) |
Plays a single turn of the game, given a field, team, and player.
|
Modifier and Type | Method | Description |
---|---|---|
Team |
Field.getTeam(char symbol) |
Returns the team on this field with the given symbol.
|
Team |
Field.getTeam(Player player) |
Returns the team for which the given player is playing.
|
Modifier and Type | Method | Description |
---|---|---|
Set<Team> |
Field.getTeams() |
Returns a set containing all of the teams on the field.
|