Entity Hierarchy

From SIMA wiki
Revision as of 14:45, 18 December 2012 by Herret (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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