|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyMovement
Title: KeyMovement
Description: This interface is for movements that need to be based on key inputs.
Copyright: Copyright (c) 2006
Method Summary | |
---|---|
KeyDirectionAction[] |
getKeyDirectionActions()
This methods returns the list of KeyDirectionActions for this KeyMovement. |
void |
setKeyDirectionAction(int index,
int keyID,
float direction)
This method sets a KeyDirectionAction to the KeyMovement. |
void |
setSpeed(double speed)
Sets the speed |
Methods inherited from interface org.deken.game.movement.Movement |
---|
collideHorizontal, collideLayer, collideVertical, copy, getDirection, getGameVector, getXUpdate, getYUpdate, update |
Methods inherited from interface org.deken.game.Updateable |
---|
getName |
Methods inherited from interface org.deken.game.input.InputListener |
---|
addInputAction, getInputActionIds, notifyListener |
Method Detail |
---|
KeyDirectionAction[] getKeyDirectionActions()
void setSpeed(double speed)
speed
- void setKeyDirectionAction(int index, int keyID, float direction)
index
- keyID
- direction
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |