|
Wraith
0.1.5
Basic 3D game engine in C++
|
A collidable group holding collidables of a specific type More...
#include <CollidableGroup.h>

Public Types | |
| typedef std::list< Collidable * > | Collection |
| typedef Collection::iterator | StorageReference |
Public Member Functions | |
| CollidableGroup (const CollidableGroup &)=default | |
| CollidableGroup & | operator= (const CollidableGroup &)=default |
| CollidableGroup (CollidableGroup &&)=default | |
| CollidableGroup & | operator= (CollidableGroup &&)=default |
| void | registerEntity (Collidable *pCollidable, StorageReference &rStorageReference) |
| Registers the entity. More... | |
| void | deregisterEntity (const StorageReference &StorageReference) |
| Deregisters the entity described by StorageReference. More... | |
| void | updateGroupAABB () |
| const Collection & | getColliderCollection () const |
| const CollisionVolumeAABB & | getGroupAABB () const |
| bool | isEmpty () const |
Private Attributes | |
| Collection | _registeredEntities |
| CollisionVolumeAABB * | _pGroupAABB |
A collidable group holding collidables of a specific type
| void CollidableGroup::deregisterEntity | ( | const StorageReference & | StorageReference | ) |
Deregisters the entity described by StorageReference.
| StorageReference | The storage reference. |
| void CollidableGroup::registerEntity | ( | Collidable * | pCollidable, |
| StorageReference & | rStorageReference | ||
| ) |
Registers the entity.
| pCollidable | the collidable. |
| rStorageReference | [in,out] The storage reference. |