de.jos.game.actions.permanent
Class ActionStatistics

java.lang.Object
  extended by de.jos.game.actions.AbstractAction
      extended by de.jos.game.actions.permanent.AbstractPermanentAction
          extended by de.jos.game.actions.permanent.ActionStatistics
All Implemented Interfaces:
SpecialEventPermanent, SpecialActionEvent

public class ActionStatistics
extends AbstractPermanentAction
implements SpecialEventPermanent


Constructor Summary
ActionStatistics()
           
 
Method Summary
 void cleanup()
          Cleanup that is to be performed before removing the action.
 java.lang.Integer getLayer()
           
 Level getLevel()
           
 java.lang.String getName()
           
 int getScore()
           
 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 setLevel(Level level)
           
 void update(long elapsedTime, com.golden.gamedev.GameObject gameObject)
           
 void updateScore(int scoreToAdd)
           
 
Methods inherited from class de.jos.game.actions.permanent.AbstractPermanentAction
update
 
Methods inherited from class de.jos.game.actions.AbstractAction
getCleanupAction, getGameFont, getNewSpecialEventList, getResourceContainer, getString, getString, setCleanupAction, setResourceContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.jos.game.actions.permanent.SpecialEventPermanent
update
 
Methods inherited from interface de.jos.game.actions.SpecialActionEvent
getNewSpecialEventList, setResourceContainer
 

Constructor Detail

ActionStatistics

public ActionStatistics()
Method Detail

init

public void init()
Specified by:
init in interface SpecialActionEvent
Overrides:
init in class AbstractAction

isBlocking

public boolean isBlocking()
Specified by:
isBlocking in interface SpecialActionEvent
Overrides:
isBlocking 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:

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

cleanup

public void cleanup()
Description copied from interface: SpecialActionEvent
Cleanup that is to be performed before removing the action.

Specified by:
cleanup in interface SpecialActionEvent
Overrides:
cleanup in class AbstractAction

getLayer

public java.lang.Integer getLayer()
Specified by:
getLayer in interface SpecialActionEvent
Overrides:
getLayer in class AbstractPermanentAction

getLevel

public Level getLevel()

setLevel

public void setLevel(Level level)

getScore

public int getScore()

updateScore

public void updateScore(int scoreToAdd)

getName

public java.lang.String getName()
Specified by:
getName in interface SpecialActionEvent


Copyright © 2008. All Rights Reserved.