cad.simcad.worldsimulator.objects
Class ObjectMediator
java.lang.Object
|
+--cad.simcad.worldsimulator.objects.ObjectMediator
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- StructureMediator, UnitMediator
- public class ObjectMediator
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- 1.0
- Author:
- Charles-Philip Bentley
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_map
protected AbstractMap _map
_ss
protected StatServer _ss
_sos
protected SimObjectServer _sos
ObjectMediator
public ObjectMediator(AbstractMap am,
StatServer ss,
SimObjectServer sos)
- Creates new ObjectMediator
getAbstractMap
public AbstractMap getAbstractMap()
getWidth
public int getWidth(SimulatedObject mu,
Genomable g)
getHeight
public int getHeight(SimulatedObject mu,
Genomable g)
getId
public int getId(java.lang.String className)
getName
public java.lang.String getName(int id)
getName
public java.lang.String getName(java.lang.String className)
With the help of www.sourceforge.net and www.info.ucl.ac.be