|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgameaction.AbstractGameAction
gameaction.Use
public class Use
A game action that represents using an item
Constructor Summary | |
---|---|
Use(AbstractCharacterSprite c,
Hotspot hot,
Item item)
|
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 Use(AbstractCharacterSprite c, Hotspot hot, Item item)
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 |