|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgameaction.AbstractGameAction
gameaction.Delay
public class Delay
This game action class can be used to put a delay of the specified amount of miliseconds to the processing of a character'S game action queue
Constructor Summary | |
---|---|
Delay(AbstractCharacterSprite c,
long duration)
|
Method Summary | |
---|---|
void |
update(long elapsedTime)
Updates the game action |
Methods inherited from class gameaction.AbstractGameAction |
---|
getCharacter, isSecondMethodCall |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Delay(AbstractCharacterSprite c, long duration)
Method Detail |
---|
public void update(long elapsedTime)
AbstractGameAction
update
in class AbstractGameAction
elapsedTime
- time between two frames
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |