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

Field Summary
protected  AbstractMap _map
           
protected  SimObjectServer _sos
           
protected  StatServer _ss
           
 
Constructor Summary
ObjectMediator(AbstractMap am, StatServer ss, SimObjectServer sos)
          Creates new ObjectMediator
 
Method Summary
 AbstractMap getAbstractMap()
           
 int getHeight(SimulatedObject mu, Genomable g)
           
 int getId(java.lang.String className)
           
 java.lang.String getName(int id)
           
 java.lang.String getName(java.lang.String className)
           
 int getWidth(SimulatedObject mu, Genomable g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_map

protected AbstractMap _map

_ss

protected StatServer _ss

_sos

protected SimObjectServer _sos
Constructor Detail

ObjectMediator

public ObjectMediator(AbstractMap am,
                      StatServer ss,
                      SimObjectServer sos)
Creates new ObjectMediator

Method Detail

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)

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be