flimEngine
|
#include <CollidableGroup.h>
Static Public Member Functions | |
static const std::set< C * > & | GetCollection () |
Gets the collection of collidables. More... | |
static errcode | Register (C *c) |
Registers a collidable to this group. More... | |
static errcode | Deregister (C *c) |
Deregisters the collidable to this group. More... | |
static errcode | Terminate () |
Singleton termination method. More... | |
static errcode | setAABB (const Vect &min, const Vect &max) |
static const CollisionVolumeAABB & | getAABB () |
Private Member Functions | |
CollidableGroup () | |
CollidableGroup (const CollidableGroup &)=delete | |
CollidableGroup & | operator= (const CollidableGroup &)=delete |
~CollidableGroup () | |
const std::set< C * > & | privGetCollection () |
errcode | privRegister (C *c) |
errcode | privDeregister (C *c) |
errcode | privTerminate () |
errcode | privSetAABB (const Vect &min, const Vect &max) |
const CollisionVolumeAABB & | privGetAABB () |
Static Private Member Functions | |
static CollidableGroup & | Instance () |
Private Attributes | |
std::set< C * > | collidables |
CollisionVolumeAABB | collVolumeAABB |
Static Private Attributes | |
static CollidableGroup * | instance = nullptr |
|
private |
|
privatedelete |
|
inlineprivate |
|
inlinestatic |
Deregisters the collidable to this group.
[in,out] | c | If non-null, the collidable to deregister. |
|
inlinestatic |
|
inlinestatic |
Gets the collection of collidables.
|
inlinestaticprivate |
|
privatedelete |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlinestatic |
Registers a collidable to this group.
[in,out] | c | Collidable to register |
|
inlinestatic |
|
inlinestatic |
Singleton termination method.
|
private |
|
private |
|
staticprivate |