|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgameaction.AbstractGameAction
gameaction.Pick
public class Pick
A game action that represents picking an item in the game location
| Constructor Summary | |
|---|---|
Pick(Player player,
Item item)
A game action that represents picking an item in the game location |
|
| 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 Pick(Player player,
Item item)
player - the player object that picks the itemitem - the item that shall be picked| Method Detail |
|---|
public void update(long elapsedTime)
AbstractGameAction
update in class AbstractGameActionelapsedTime - time between two frames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||