|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--fate.world.MapWorldObject
Simple map to contain WorldObject objects.
| Constructor Summary | |
MapWorldObject()
Creates new MapWorldObject |
|
| Method Summary | |
WorldObject |
get(int id)
Retrieves a WorldObject object |
int |
put(WorldObject wo)
Adds a new WorldObject object |
WorldObject |
remove(int id)
Retrieves a WorldObject object |
void |
update(WorldObject wo)
Updates an existing WorldObject object |
| Methods inherited from class java.util.HashMap |
clear,
clone,
containsKey,
containsValue,
entrySet,
get,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
| Methods inherited from class java.util.AbstractMap |
equals,
hashCode,
toString |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public MapWorldObject()
| Method Detail |
public int put(WorldObject wo)
public void update(WorldObject wo)
public WorldObject get(int id)
public WorldObject remove(int id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||