gameaction
Class ShowIntermissionScreen

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

public class ShowIntermissionScreen
extends AbstractGameAction

This class represents a game action that is responsible for showing a simple intermission screen

Author:
Frank Bruns
See Also:
Serialized Form

Constructor Summary
ShowIntermissionScreen(AbstractCharacterSprite c, java.lang.String imgPath, 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

ShowIntermissionScreen

public ShowIntermissionScreen(AbstractCharacterSprite c,
                              java.lang.String imgPath,
                              long duration)
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