24 | | * __loadParams__: Loads Parameters on the WorldEntity - level |
25 | | * __loadModel__: loads a new Model onto the WorldEntity (this is coppled with the ResourceManager, so you don't have to care about the pointer anymore) |
26 | | * __buildObbTree__: If you want collisions to happen onto this WorldEntity, then you have to call this function, to create a Collision-Cluster. This is normally called upon a call to loadModel, but maybe you want something more. |
27 | | * __setVisibility__: Tells the ENGINE if this WorldEntity must be drawn, or not |
| 24 | * __loadParams__: Loads Parameters on the !WorldEntity - level |
| 25 | * __loadModel__: loads a new Model onto the !WorldEntity (this is coppled with the [wiki:archive/ResourceManager ResourceManager], so you don't have to care about the pointer anymore) |
| 26 | * __buildObbTree__: If you want collisions to happen onto this !WorldEntity, then you have to call this function, to create a Collision-Cluster. This is normally called upon a call to loadModel, but maybe you want something more. |
| 27 | * __setVisibility__: Tells the ENGINE if this !WorldEntity must be drawn, or not |
30 | | * __tick__: Tells this WorldEntity, to step around a little timestep (dt) into the future (or past if (dt < 0)). All derived Classes should reimplement this function, to describe the behaviour of the WorldEntity over time. |
31 | | * __draw__: Tells this WorldEntity to draw itself. This function should be reimplemented virtually by all derived classes. Most Classes are drawn differently. The default drawing function is quite good, but maybe not, what you are looking for. |
| 30 | * __tick__: Tells this !WorldEntity, to step around a little timestep (dt) into the future (or past if (dt < 0)). All derived Classes should reimplement this function, to describe the behaviour of the !WorldEntity over time. |
| 31 | * __draw__: Tells this !WorldEntity to draw itself. This function should be reimplemented virtually by all derived classes. Most Classes are drawn differently. The default drawing function is quite good, but maybe not, what you are looking for. |
38 | | == Howto Create a new WorldEntity == |
39 | | If you want to create a new WorldEntity, you first have to know the concept of |
40 | | * ClassID, BaseObject (for nice integration into our project) |
41 | | * LoadParam / Factory (for automatic Loading) |
| 38 | == Howto Create a new !WorldEntity == |
| 39 | If you want to create a new !WorldEntity, you first have to know the concept of |
| 40 | * ClassID, [wiki:archive/BaseObject BaseObject] (for nice integration into our project) |
| 41 | * [wiki:archive/LoadParam LoadParam] / Factory (for automatic Loading) |