|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgameaction.AbstractGameAction
public abstract class AbstractGameAction
An abstract game action that contains everything which all derived specialized game actions have in common
| Constructor Summary | |
|---|---|
AbstractGameAction(AbstractCharacterSprite c)
Creates a new game action |
|
| Method Summary | |
|---|---|
AbstractCharacterSprite |
getCharacter()
Returns the character that performs the game action |
boolean |
isSecondMethodCall()
Determines, if the update() method of this game action has been called more than once |
abstract void |
update(long elapsedTime)
Updates the game action |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGameAction(AbstractCharacterSprite c)
c - character that performs the game action| Method Detail |
|---|
public AbstractCharacterSprite getCharacter()
public boolean isSecondMethodCall()
public abstract void update(long elapsedTime)
elapsedTime - time between two frames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||