| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package entities :: Module base_entities :: Class SpatialEntity |
|
Entity --+
|
BasicSpatialEntity --+
|
SpatialEntity
SimAgentBaseClass,
SimObject,
GenericArea| Method Summary | |
|---|---|
__init__(self,
_uid)
| |
Called when entity enters a new structure. | |
Called when entity is added to world. | |
Called when entity leaves an existing structure. | |
Tests if the given coordinates lie within the world bounds of the entity. | |
locateInWorld(self)
| |
setDimensions(self,
dimX,
dimY)
| |
setLocation(self,
x,
y)
| |
| Inherited from BasicSpatialEntity | |
Applies encoded data to self. | |
Returns encoded representation of self. | |
| |
| Inherited from Entity | |
Called when entity enters a partition. | |
Called when entity is leaves a structure. | |
Called when structure is removed world. | |
If the entity has a name, return this, otherwise returns a name created from its class name and unique id. | |
Handles event form simulation. | |
| boolean |
Returns tag state. |
Sets the structure and partition that the entity is within. | |
Forwards data representing change in entity to process handler. | |
Called when the simulation world starts running, or if an entity has been added to a world after it has started. | |
Called when the simulation world stops running, or if an entity has been removed from a world after it has started. | |
Called when the simulation world updates. | |
| Method Details |
|---|
enterStructure(self, structure)Called when entity enters a new structure. |
enterWorld(self, world)Called when entity is added to world. |
exitStructure(self, structure=None)Called when entity leaves an existing structure. |
isOverPoint(self, x, y)Tests if the given coordinates lie within the world bounds of the entity. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 | http://epydoc.sf.net |