Modifier and Type | Field and Description |
---|---|
PinballEngine.TeamType[][] |
PinballEngine.Turn.board |
Modifier and Type | Method and Description |
---|---|
static PinballEngine.TeamType |
PinballEngine.TeamType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PinballEngine.TeamType[] |
PinballEngine.TeamType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Heading |
ITower.onCaptureBall(PinballEngine.TeamType teamType,
Heading heading)
Called when a ball collides with this tower.
|
void |
ITower.onDetectBall(PinballEngine.TeamType teamType,
Position position)
Called when a ball passes within detection range of a tower.
|
void |
IPlayer.onDetectBall(PinballEngine.Turn turn,
PinballEngine.TowerQueue queue,
PinballEngine.TeamType teamType,
Position position)
Called at the end of each of this IPlayer's turns.
|
Constructor and Description |
---|
Turn(int turn,
PinballEngine.Team team,
int collisions,
PinballEngine.TeamType[][] board) |