|
typedef int | CollisionTypeID |
|
|
static const CollisionTypeID | ID_UNDEFINED = -1 |
|
|
void | setGroupForTypeID (CollisionTypeID) |
|
void | checkAndAdjustForIndex (CollisionTypeID) |
|
bool | isValidIndex (CollisionTypeID) const |
|
void | resizeToFit (CollisionTypeID) |
|
void | deinitializeCollisionGroups () |
|
void | deinitializeCollisionTestCommands () |
|
|
GroupCollection | _collidableGroups |
|
StorageList | _collisionTestCommands |
|
|
static CollisionTypeID | NextCollisionIDNumber = 0 |
|
static const size_t | MAX_GROUP_SIZE = 20 |
|
◆ getCollidableGroup()
CollidableGroup * CollisionManager::getCollidableGroup |
( |
CollisionTypeID |
id | ) |
const |
Gets collidable group.
- Parameters
-
- Returns
- the collidable group.
◆ getCollisionTypeID()
template<class UserClass >
CollisionTypeID CollisionManager::getCollisionTypeID |
( |
| ) |
|
|
inline |
Gets collision type identifier.
- Template Parameters
-
UserClass | Type of the user class. |
- Returns
- The collision type identifier.
◆ processCollisions()
void CollisionManager::processCollisions |
( |
| ) |
|
Process the registered collisions.
Called only by the current Scene in Scene::Update().
◆ setCollisionPair()
template<class UserClass1 , class UserClass2 >
void CollisionManager::setCollisionPair |
( |
| ) |
|
|
inline |
Sets collision pair test for the current scene
- Template Parameters
-
UserClass1 | Type of the user class 1. |
UserClass2 | Type of the user class 2. |
◆ setCollisionSelf()
template<class UserClass >
void CollisionManager::setCollisionSelf |
( |
| ) |
|
|
inline |
Sets collision self test for current scene
- Template Parameters
-
UserClass | Type of the user class. |
◆ setCollisionTerrain()
template<class UserClass >
void CollisionManager::setCollisionTerrain |
( |
| ) |
|
|
inline |
Sets collision terrain test for current scene
- Template Parameters
-
UserClass | Type of the user class. |
The documentation for this class was generated from the following files: