Modifier and Type | Method and Description |
---|---|
Heading |
Position.getHeading() |
Heading |
ITower.onCaptureBall(PinballEngine.TeamType teamType,
Heading heading)
Called when a ball collides with this tower.
|
static Heading |
Heading.random() |
Heading |
Heading.reverse() |
Heading |
Heading.reverseHorizontal() |
Heading |
Heading.reverseVertical() |
static Heading |
Heading.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Heading[] |
Heading.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Position.advance(Heading heading,
int distance) |
Heading |
ITower.onCaptureBall(PinballEngine.TeamType teamType,
Heading heading)
Called when a ball collides with this tower.
|
void |
Position.setHeading(Heading heading) |
Constructor and Description |
---|
Position(int x,
int y,
Heading heading) |