Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::en::SystemMesh Class Reference

#include <SystemMesh.h>

Inheritance diagram for kge::en::SystemMesh:
kge::en::System kge::core::Task

Public Member Functions

 SystemMesh ()
 Constructor.
 ~SystemMesh ()
 Destructor.
void Update (float fElaspedTime)
 Updates the system and it will update the entities.
void AsyncUpdate ()
 Updates the system in asynchronism mode.
void NotifySystem (Entity *pEn)
bool OnMessage (Message *msg)
 Receive a message to process.
- Public Member Functions inherited from kge::en::System
 System ()
 Constructor.
virtual ~System ()
 Destructor.
- Public Member Functions inherited from kge::core::Task
 Task ()
 Constructor.
virtual ~Task ()
 Destructor.

Protected Attributes

int m_iComMeshID
int m_iComPosID
- Protected Attributes inherited from kge::en::System
bool m_bAsyncUpdate
 Should this system update trough a thread default = false.
std::vector< Entity * > m_vEntities

Additional Inherited Members

- Protected Member Functions inherited from kge::en::System
core::TaskDo ()
void AddEntity (Entity *pEn)
 Adds an entity to system.

Detailed Description

Definition at line 10 of file SystemMesh.h.

Constructor & Destructor Documentation

kge::en::SystemMesh::SystemMesh ( )

Constructor.

kge::en::SystemMesh::~SystemMesh ( )

Destructor.

Member Function Documentation

void kge::en::SystemMesh::AsyncUpdate ( )
virtual

Updates the system in asynchronism mode.

Implements kge::en::System.

void kge::en::SystemMesh::NotifySystem ( Entity pEn)
virtual

When a new entity created or new component attached to entity you must call it on systems to check the entity.

Implements kge::en::System.

bool kge::en::SystemMesh::OnMessage ( Message msg)
virtual

Receive a message to process.

Implements kge::en::System.

void kge::en::SystemMesh::Update ( float  fElaspedTime)
virtual

Updates the system and it will update the entities.

Implements kge::en::System.

Member Data Documentation

int kge::en::SystemMesh::m_iComMeshID
protected

Definition at line 35 of file SystemMesh.h.

int kge::en::SystemMesh::m_iComPosID
protected

Definition at line 35 of file SystemMesh.h.


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