Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/doc/OrxonoxClass


Ignore:
Timestamp:
Feb 24, 2008, 9:48:07 PM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/OrxonoxClass

    v2 v3  
    11= !OrxonoxClass =
    22
    3 === Description ===
     3== Description ==
    44
    55OrxonoxClass is the base class of all objects and interfaces having [wiki:Identifier Identifiers]. Therefore OrxonoxClass is the direct parent of BaseObject and several interfaces like [wiki:Tickable] or [wiki:Synchronisable].
     
    77OrxonoxClass itself isn't of any use to the game-logic. All functions and variables are only there to create a common base for [wiki:Identifier Identifiers]. Some functions are used in macros (see CoreIncludes).
    88
    9 === Inheriting from !OrxonoxClass ===
     9== Inheriting from !OrxonoxClass ==
    1010
    1111Classes inheriting from OrxonoxClass '''must''' use '''virtual public''' derivation to avoid problems in the class-tree (diamond shape):
     
    2020}}}
    2121
    22 === Functions ===
     22== Functions ==
    2323
    2424 * '''Identifier''':
     
    3737   * isDirectParentOf(...)
    3838
    39 === Illustration ===
     39== Illustration ==
    4040
    4141As you can see, OrxonoxClass is on the top of the class-tree. Every other object or interface is a derivative.