Changes between Version 3 and Version 4 of ~archive/BaseObject
- Timestamp:
- Apr 15, 2017, 3:30:00 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
~archive/BaseObject
v3 v4 4 4 The !BaseObject is the top-most !SuperClass of (most but not) all Classes in orxonox. 5 5 6 source: /trunk/src/lib/lang/base_object.h#HEAD [[br]]6 source:orxonox.OLD/trunk/src/lib/lang/base_object.h#HEAD [[br]] 7 7 __Derived From__: 8 8 * nothing … … 42 42 }}} 43 43 * __isA__:[[br]] 44 isA is a function, that queries, if the Object is of a Specified type. e.g. given a class Player that is derived from !BaseObject and [wiki: archive/ParentNode PNode] one can do the following check :44 isA is a function, that queries, if the Object is of a Specified type. e.g. given a class Player that is derived from !BaseObject and [wiki:ParentNode PNode] one can do the following check : 45 45 {{{ 46 46 #!cpp … … 51 51 52 52 == Advanced Topics == 53 An interessting Function, that !BaseObject provides is the [wiki: archive/ObjectList ObjectList].53 An interessting Function, that !BaseObject provides is the [wiki:ObjectList ObjectList]. 54 54 With it, one can retrieve lists of any one kind of derived classes from !BaseObject.