hockey.api
Interface IGoalKeeperControl

All Superinterfaces:
IPlayerControl
All Known Implementing Classes:
GoalKeeper

public interface IGoalKeeperControl
extends IPlayerControl

An interface to goal-keeper control.

Also provides information about the goal-keeper that is not available to other players, and game queries to retreive the puck, goal-keepers and other players inherited from IPlayerControl.

See Also:
IPlayerControl

Field Summary
static int MAX_GLIDE
          Maximum glide and skate speed for goal-keepers.
static int MAX_THROW_SPEED
          Maximum throw and shot speed for goal-keepers.
 
Fields inherited from interface hockey.api.IPlayerControl
ACCELERATION, MAX_SHOT_SPEED, MAX_SPEED, MAX_STICK_ANGLE, MAX_STICK_R, MAX_TURN_SPEED, MIN_STICK_ANGLE, MIN_STICK_R
 
Method Summary
 int getTargetGlide()
          Returns the target glide speed.
 void glide(int glideSpeed)
          Accelerate gliding sidewards to the given speed.
 
Methods inherited from interface hockey.api.IPlayerControl
getAimOnStick, getGoalKeeper, getPlayer, getPuck, getScore, getTargetHeading, getTargetSpeed, getTargetStickAngle, getTargetStickR, getTurnSpeed, moveStick, setAimOnStick, setDebugPoint, setMessage, shoot, showDebugPoint, skate, turn
 

Field Detail

MAX_GLIDE

public static final int MAX_GLIDE
Maximum glide and skate speed for goal-keepers.

See Also:
Constant Field Values

MAX_THROW_SPEED

public static final int MAX_THROW_SPEED
Maximum throw and shot speed for goal-keepers.

See Also:
Constant Field Values
Method Detail

getTargetGlide

public int getTargetGlide()
Returns the target glide speed.


glide

public void glide(int glideSpeed)
Accelerate gliding sidewards to the given speed.