#include <object.h>
Inheritance diagram for Object:
Public Member Functions | |
Object (irr::IrrlichtDevice *d) | |
~Object () | |
virtual void | update (irr::u32 deltaTime)=0 |
virtual void | load (irr::core::stringc filePath)=0 |
virtual void | safe (irr::core::stringc filePath)=0 |
void | setScale (irr::f32 modelScale) |
Public Attributes | |
irr::s32 | myId |
public accessible attribute representing a unique identifier. | |
irr::core::vector3df | position |
public accessible attribute representing current object position. | |
irr::core::vector3df | velocity |
public accessible attribute representing current object speed. | |
Protected Attributes | |
irr::IrrlichtDevice * | device |
Inheritanced classes can access this IrrlichtDevice*. | |
irr::scene::IAnimatedMeshSceneNode * | mesh |
Inheritanced classes can access this IAnimatedMeshSceneNode*. |
load() and safe() utilize Config.h to load/safe object data (like meshes, bmp, etc.)
Definition at line 10 of file object.h.
|
Constructor.
|
|
Destructor. Removes mesh from scene. Definition at line 19 of file object.cpp. |
|
For data driven object creation (e.g. load mesh via config file).
Implemented in Roller. |
|
For object serialization.
Implemented in Roller. |
|
Scales object mesh in all three dimensions with same value.
Referenced by StateTerrain::entry(). |
|
To be called on every frame.
Implemented in Roller. |