Modifier and Type | Class and Description |
---|---|
class |
TowerPosition |
Modifier and Type | Method and Description |
---|---|
boolean |
Position.coordinatesMatch(Position position) |
double |
Position.distance(Position position) |
boolean |
PinballEngine.Turn.isOccupied(Position position) |
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 |
---|
Position(Position source) |
TowerPosition(Position position) |
TowerPosition(Position position,
int collisions) |