gameaction
Class ChangeHotspotImage

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

public class ChangeHotspotImage
extends AbstractGameAction

This class represents a game action that can be used to change/set the image assigned to an interactive hotspot

Author:
Frank Bruns
See Also:
Serialized Form

Constructor Summary
ChangeHotspotImage(AbstractCharacterSprite c, InteractiveHotspot ihs, java.lang.String imgPath)
           
 
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

ChangeHotspotImage

public ChangeHotspotImage(AbstractCharacterSprite c,
                          InteractiveHotspot ihs,
                          java.lang.String imgPath)
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