|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--cad.simcad.worldsimulator.objects.SimulatedObject
|
+--cad.simcad.worldsimulator.objects.buildings.Structure
|
+--cad.simcad.worldsimulator.objects.buildings.PassiveStructure
| Field Summary |
| Fields inherited from class cad.simcad.worldsimulator.objects.SimulatedObject |
_am, _className, _height, _id, _name, _om, _owner, _serial, _sime, _stateId, _width |
| Constructor Summary | |
PassiveStructure(SimEnvironment sime,
PathPlace current,
StructureMediator um,
Owner owner,
java.lang.String className)
Creates new PassiveStructure |
|
| Method Summary | |
abstract double |
getBoundingCircleRadius()
This allows to ask the radius of the objects bounding circle. |
int |
getVelocity()
Here the velocity of an object can be asked. |
boolean |
isStatic()
Can the structure move in someway ? |
void |
move()
|
void |
setVelocity(int value)
To change the velocity of an object. |
| 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 |
public PassiveStructure(SimEnvironment sime,
PathPlace current,
StructureMediator um,
Owner owner,
java.lang.String className)
| Method Detail |
public abstract double getBoundingCircleRadius()
getBoundingCircleRadius in interface SimObjectgetBoundingCircleRadius in class Structurepublic boolean isStatic()
isStatic in class Structurepublic int getVelocity()
getVelocity in class Structurepublic void move()
move in class Structurepublic void setVelocity(int value)
setVelocity in class Structure
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||