|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgameaction.AbstractGameAction
gameaction.ChangeHotspotImage
public class ChangeHotspotImage
This class represents a game action that can be used to change/set the image assigned to an interactive hotspot
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 |
---|
public ChangeHotspotImage(AbstractCharacterSprite c, InteractiveHotspot ihs, java.lang.String imgPath)
Method Detail |
---|
public void update(long elapsedTime)
AbstractGameAction
update
in class AbstractGameAction
elapsedTime
- time between two frames
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |