Changes between Version 4 and Version 5 of code/doc/BaseObject
- Timestamp:
- Feb 24, 2008, 9:47:43 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/BaseObject
v4 v5 1 1 = !BaseObject = 2 2 3 == = Description ===3 == Description == 4 4 5 5 In Orxonox, there are some classes refered to be "objects". In this context an object is not an instance of a class, but a class beeing relevant to the game-logic. Examples of objects are: A ship (but not the model), a particle effect (but not the particles themselfes), a trigger (which might be totally abstract like "finish the game after 20 minutes"), a HUD (but not the graphpics). Examples of classes not beeing objects are: Interfaces (but objects might inherit from them), graphical components (meshes, textures, sprites, billboards, ...), helper classes ([wiki:Timer], ...), classes in external libraries ([wiki:Coding/networking network], audio, [wiki:Core core], ...). … … 8 8 9 9 10 == = Functions ===10 == Functions == 11 11 12 12 The BaseObject provides several functions and states: … … 14 14 ---to come--- 15 15 16 == = Illustration ===16 == Illustration == 17 17 18 18 In this illustration of a class-tree (Test.h), the classes A1, A2 and A3 (and all derivatives) are "objects", because they inherit from BaseObject. As you can see, there are some Interfaces. Interfaces aren't connected with the BaseObject, they're on the same level. But they all inherit from OrxonoxClass, but this isn't relevant to the game-logic.