fate.world
Class MapWorldObject


java.lang.Object

  |

  +--java.util.AbstractMap

        |

        +--java.util.HashMap

              |

              +--fate.world.MapWorldObject


public class MapWorldObject
extends java.util.HashMap
implements java.io.Serializable

Simple map to contain WorldObject objects.

See Also:
Serialized Form

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

MapWorldObject


public MapWorldObject()
Creates new MapWorldObject
Method Detail

put


public int put(WorldObject wo)
Adds a new WorldObject object

update


public void update(WorldObject wo)
Updates an existing WorldObject object

get


public WorldObject get(int id)
Retrieves a WorldObject object

remove


public WorldObject remove(int id)
Retrieves a WorldObject object