Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Demo::GameEntity Struct Reference

#include <GameEntity.h>

+ Collaboration diagram for Demo::GameEntity:

Public Member Functions

 GameEntity (Ogre::uint32 id, const MovableObjectDefinition *moDefinition, Ogre::SceneMemoryMgrTypes type)
 
Ogre::uint32 getId (void) const
 
bool operator< (const GameEntity *_r) const
 

Static Public Member Functions

static bool OrderById (const GameEntity *_l, const GameEntity *_r)
 

Public Attributes

Ogre::SceneNode * mSceneNode
 
Ogre::MovableObject * mMovableObject
 
GameEntityTransformmTransform [NUM_GAME_ENTITY_BUFFERS]
 
Ogre::SceneMemoryMgrTypes mType
 
const MovableObjectDefinitionmMoDefinition
 
size_t mTransformBufferIdx
 

Constructor & Destructor Documentation

◆ GameEntity()

Demo::GameEntity::GameEntity ( Ogre::uint32  id,
const MovableObjectDefinition moDefinition,
Ogre::SceneMemoryMgrTypes  type 
)
inline

Member Function Documentation

◆ getId()

Ogre::uint32 Demo::GameEntity::getId ( void  ) const
inline

◆ operator<()

bool Demo::GameEntity::operator< ( const GameEntity _r) const
inline

◆ OrderById()

static bool Demo::GameEntity::OrderById ( const GameEntity _l,
const GameEntity _r 
)
inlinestatic
+ Here is the caller graph for this function:

Member Data Documentation

◆ mMoDefinition

const MovableObjectDefinition* Demo::GameEntity::mMoDefinition

◆ mMovableObject

Ogre::MovableObject* Demo::GameEntity::mMovableObject

◆ mSceneNode

Ogre::SceneNode* Demo::GameEntity::mSceneNode

◆ mTransform

GameEntityTransform* Demo::GameEntity::mTransform[NUM_GAME_ENTITY_BUFFERS]

◆ mTransformBufferIdx

size_t Demo::GameEntity::mTransformBufferIdx

◆ mType

Ogre::SceneMemoryMgrTypes Demo::GameEntity::mType

The documentation for this struct was generated from the following file: