| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
An IObject representing a player on the ice.
IObject| Method Summary | |
|  int | getIndex()Returns this player's index. | 
|  IObject | getStick()Returns the current position of the player's stick, as an IObject. | 
|  int | getStickAngle()Returns the stick relative angle relative to the player's heading, in degrees. | 
|  int | getStickR()Returns the stick distace from the player's centre, in cm. | 
|  int | getStickX()Returns the x-coordinate of the player's stick, in cm. | 
|  int | getStickY()Returns the y-coordinate of the player's stick, in cm. | 
|  boolean | hasPuck()Returns whether this player has the puck. | 
|  boolean | isLeftHanded()Returns whether this player is left handed. | 
|  boolean | isOpponent()Returns whether this player is your opponent in the game. | 
| Methods inherited from interface hockey.api.IObject | 
| getHeading, getSpeed, getX, getY | 
| Method Detail | 
public int getStickAngle()
public int getStickR()
public int getStickX()
public int getStickY()
public IObject getStick()
IObject.
public boolean hasPuck()
public boolean isOpponent()
public boolean isLeftHanded()
public int getIndex()
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||