gameaction
Class Leave

java.lang.Object
  extended by gameaction.AbstractGameAction
      extended by gameaction.Leave
All Implemented Interfaces:
java.io.Serializable

public class Leave
extends AbstractGameAction

A game action that represents leaving a game location

Author:
Frank Bruns
See Also:
Serialized Form

Constructor Summary
Leave(AbstractCharacterSprite c, LocationExit exit)
           
 
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

Leave

public Leave(AbstractCharacterSprite c,
             LocationExit exit)
Method Detail

update

public void update(long elapsedTime)
Description copied from class: AbstractGameAction
Updates the game action

Specified by:
update in class AbstractGameAction
Parameters:
elapsedTime - time between two frames