Difference between revisions of "Entity Hierarchy"

From SIMA wiki
Jump to: navigation, search
(Created page with "The following diagram shows the inheritance hierarchy of the entities. File:Entity inheritance hierarchy .png '''clsEntity''': clsEntity is the base class of any object i...")
 
 
Line 1: Line 1:
 
The following diagram shows the inheritance hierarchy of the entities.
 
The following diagram shows the inheritance hierarchy of the entities.
 +
 +
 
[[File:Entity inheritance hierarchy .png]]
 
[[File:Entity inheritance hierarchy .png]]
  

Latest revision as of 11:40, 15 April 2013

The following diagram shows the inheritance hierarchy of the entities.


Entity inheritance hierarchy .png

clsEntity: clsEntity is the base class of any object in the ArsinWorld. With the containing PhysicalObject2D it holds the reference to the physical-object within the mason-framework. It supports the automatic redirection of functions for e.g positioning, shape, ... towards the real physical object in the simulator.

clsMobile: clsMobile is the base class for all mobile entities. It also provides an inventory to hold other entities.

clsStationary: clsStationary is the base class for all stationary entities. The structural_weight is set to DOUBLE.MAX_VALUE so no other entity is strong enough to take it away.

clsAnimate: clsAnimate provides the possibility to add a decision unit.

clsInanimate: for all dead objects