|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tootsville.game.MagicBox.Box
private final class MagicBox.Box
Utility class for tracking unique boxes and handling setting and clearing room variables
| Field Summary | |
|---|---|
private ActionHandler |
handler
The handler for catching the event action when a user triggers the server event |
private int |
id
Unique ID of the box |
private int |
item
Item ID of the box |
private Room |
room
Room the box is in |
| Constructor Summary | |
|---|---|
MagicBox.Box(int num,
Room myRoom,
int itemID)
Creates a box |
|
| Method Summary | |
|---|---|
void |
clear()
WRITEME ewinkelman Oct 16, 2010 |
int |
getID()
|
int |
getItem()
|
Room |
getRoom()
|
void |
place(org.starhope.appius.geometry.Coord2D point)
Places the box at a point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private transient ActionHandler handler
private final int id
private final int item
private final Room room
| Constructor Detail |
|---|
public MagicBox.Box(int num,
Room myRoom,
int itemID)
num - WRITEMEmyRoom - WRITEMEitemID - WRITEME| Method Detail |
|---|
public void clear()
public int getID()
public int getItem()
public Room getRoom()
public void place(org.starhope.appius.geometry.Coord2D point)
point - WRITEME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||