hx3d  1
2D/3D Simple Game Framework
Public Member Functions | List of all members
hx3d::Poolable Class Referenceabstract

Reutilisable elements. Recycling is good for your memory. More...

#include <poolable.hpp>

Public Member Functions

void setId (const unsigned int id)
 Change the poolable ID. More...
 
unsigned int getId () const
 Get the poolable ID. More...
 
virtual void reset ()=0
 Reset the element.
 

Detailed Description

Reutilisable elements. Recycling is good for your memory.

Definition at line 29 of file poolable.hpp.

Member Function Documentation

unsigned int hx3d::Poolable::getId ( ) const

Get the poolable ID.

Returns
Poolable ID

Definition at line 31 of file poolable.cpp.

void hx3d::Poolable::setId ( const unsigned int  id)

Change the poolable ID.

Parameters
idNew ID

Definition at line 27 of file poolable.cpp.


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