de.jos.game.actions.permanent
Class ActionMoveStatistics
java.lang.Object
de.jos.game.actions.AbstractAction
de.jos.game.actions.permanent.AbstractPermanentAction
de.jos.game.actions.permanent.ActionMoveStatistics
- All Implemented Interfaces:
- SpecialEventPermanent, SpecialActionEvent
public class ActionMoveStatistics
- extends AbstractPermanentAction
- implements SpecialEventPermanent
Method Summary |
int |
getMoves()
|
java.lang.String |
getName()
|
void |
init()
|
boolean |
isBlocking()
|
boolean |
isFinished()
If finished returns true, the actionEvent can be removed from the list. |
void |
render(java.awt.Graphics2D graphics,
com.golden.gamedev.GameObject gameObject)
|
void |
update(long elapsedTime,
com.golden.gamedev.GameObject gameObject)
|
void |
updateMoves(int movesToAdd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionMoveStatistics
public ActionMoveStatistics()
init
public void init()
- Specified by:
init
in interface SpecialActionEvent
- Overrides:
init
in class AbstractAction
isFinished
public boolean isFinished()
- Description copied from interface:
SpecialActionEvent
- If finished returns true, the actionEvent can be removed from the list.
- Specified by:
isFinished
in interface SpecialActionEvent
- Returns:
isBlocking
public boolean isBlocking()
- Specified by:
isBlocking
in interface SpecialActionEvent
- Overrides:
isBlocking
in class AbstractAction
update
public void update(long elapsedTime,
com.golden.gamedev.GameObject gameObject)
- Specified by:
update
in interface SpecialActionEvent
- Overrides:
update
in class AbstractPermanentAction
render
public void render(java.awt.Graphics2D graphics,
com.golden.gamedev.GameObject gameObject)
- Specified by:
render
in interface SpecialActionEvent
updateMoves
public void updateMoves(int movesToAdd)
getMoves
public int getMoves()
getName
public java.lang.String getName()
- Specified by:
getName
in interface SpecialActionEvent
Copyright © 2008. All Rights Reserved.