#include <class.objectmanager.hh>
Public Member Functions | |
| ~CObjectManager () | |
| void | Cleanup () |
| bool | Frame (Uint8 *keystate, Uint32 iDeltaTime) |
| Calls the 'Frame' function for each object. | |
| bool | TryInteract (CObject *pObj) |
| Test an object for interactions with other objects. | |
| void | DrawAll (int x, int y) |
| Draw all objects. | |
| void | DumpAll () |
| void | Add (CObject *pObj) |
| Add an object to the object manager. | |
| void | Remove (CObject *pObj) |
| Remove an object from the object manager. | |
| void | RemoveAndFree (CObject *pObj) |
| Remove an object from the object manager and free it's memory. | |
Public Attributes | |
| std::vector< CObject * > | mpObjects |
| CObjectManager::~CObjectManager | ( | ) |
| void CObjectManager::Cleanup | ( | ) |
| bool CObjectManager::Frame | ( | Uint8 * | keystate, | |
| Uint32 | iDeltaTime | |||
| ) |
Calls the 'Frame' function for each object.
| bool CObjectManager::TryInteract | ( | CObject * | pObj | ) |
Test an object for interactions with other objects.
| void CObjectManager::DrawAll | ( | int | x, | |
| int | y | |||
| ) |
Draw all objects.
| void CObjectManager::DumpAll | ( | ) |
| void CObjectManager::Add | ( | CObject * | pObj | ) |
Add an object to the object manager.
| void CObjectManager::Remove | ( | CObject * | pObj | ) |
Remove an object from the object manager.
| void CObjectManager::RemoveAndFree | ( | CObject * | pObj | ) |
Remove an object from the object manager and free it's memory.
| std::vector<CObject*> CObjectManager::mpObjects |
1.5.5