cad.simcad.worldsimulator.objects.buildings
Class Hospital

java.lang.Object
  |
  +--cad.simcad.worldsimulator.objects.SimulatedObject
        |
        +--cad.simcad.worldsimulator.objects.buildings.Structure
              |
              +--cad.simcad.worldsimulator.objects.buildings.PassiveStructure
                    |
                    +--cad.simcad.worldsimulator.objects.buildings.Hospital
All Implemented Interfaces:
Drawable2DObject, java.io.Serializable, SimObject

public class Hospital
extends PassiveStructure

Version:
1.0
Author:
Charles-Philip Bentley
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cad.simcad.worldsimulator.objects.SimulatedObject
_am, _className, _height, _id, _name, _om, _owner, _serial, _sime, _stateId, _width
 
Constructor Summary
Hospital(SimEnvironment sime, PathPlace current, StructureMediator um, Owner owner)
          Creates new Hospital
 
Method Summary
 double getBoundingCircleRadius()
          This allows to ask the radius of the objects bounding circle.
 
Methods inherited from class cad.simcad.worldsimulator.objects.buildings.PassiveStructure
getVelocity, isStatic, move, setVelocity
 
Methods inherited from class cad.simcad.worldsimulator.objects.buildings.Structure
getCurrentPathPlace, getMiniMapColor, getObjectType, getX, getY, stopObject, takeTurn
 
Methods inherited from class cad.simcad.worldsimulator.objects.SimulatedObject
getClassName, getHeight, getId, getName, getSerialNumber, getStateId, getWidth, setStateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cad.simcad.objectserver.spec.sim.Drawable2DObject
getHeight, getWidth
 

Constructor Detail

Hospital

public Hospital(SimEnvironment sime,
                PathPlace current,
                StructureMediator um,
                Owner owner)
Creates new Hospital

Method Detail

getBoundingCircleRadius

public double getBoundingCircleRadius()
This allows to ask the radius of the objects bounding circle.

Specified by:
getBoundingCircleRadius in interface SimObject
Specified by:
getBoundingCircleRadius in class PassiveStructure
Returns:
a double value, the radius of the Bounding circle for this object

Logo

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