|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
An IObject representing a puck on the ice.
| Method Summary | |
IPlayer |
getHolder()
Returns the holder of the puck, or null if the puck
is not held. |
boolean |
isHeld()
Returns whether the puck is held by any player. |
| Methods inherited from interface hockey.api.IObject |
getHeading, getSpeed, getX, getY |
| Method Detail |
public boolean isHeld()
true if the puck is held.public IPlayer getHolder()
null if the puck
is not held.
null if not held.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||