#include <CollisionManager.h>
◆ CollidableGroupCollection
Defines an alias representing collection of collidable groups.
◆ CollisionTestCommands
Defines an alias representing the collision test commands.
◆ PWTypeID
Identifier type definition.
◆ CollisionManager() [1/3]
CollisionManager::CollisionManager |
( |
| ) |
|
◆ CollisionManager() [2/3]
◆ CollisionManager() [3/3]
◆ ~CollisionManager()
CollisionManager::~CollisionManager |
( |
| ) |
|
◆ GetColGroup()
Gets col group.
- Parameters
-
- Returns
- Null if it fails, else the collision group identifier.
◆ GetTypeID()
template<typename C >
template< typename C > PWTypeID CollisionManager::GetTypeID |
( |
| ) |
|
|
inline |
Gets type identifier.
- Template Parameters
-
- Returns
- The type identifier.
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
◆ ProcessCollisions()
void CollisionManager::ProcessCollisions |
( |
| ) |
|
◆ SetCollisionPair()
template<typename C1 , typename C2 >
template< typename C1, typename C2 > void CollisionManager::SetCollisionPair |
( |
| ) |
|
|
inline |
Sets collision pair.
- Template Parameters
-
C1 | Type of the c 1. |
C2 | Type of the c 2. |
◆ SetCollisionSelf()
template<typename C1 >
template< typename C1 > void CollisionManager::SetCollisionSelf |
( |
| ) |
|
|
inline |
Sets collision self.
- Template Parameters
-
◆ SetCollisionTerrain()
template<typename C1 >
template< typename C1 > void CollisionManager::SetCollisionTerrain |
( |
| ) |
|
|
inline |
Sets collision terrain.
- Template Parameters
-
◆ SetGroupForTypeID()
Sets group for type identifier.
- Parameters
-
ind | The collection group identifier. |
◆ UpdateGroupVolumes()
void CollisionManager::UpdateGroupVolumes |
( |
| ) |
|
◆ ColGroupCollection
Collection of col groups.
◆ colTestCommands
The collision test commands.
◆ MAX_COLLISION_GROUP
const int CollisionManager::MAX_COLLISION_GROUP = 20 |
|
private |
Maximum amount of collision groups allowed.
◆ PWID_UNDEFINED
const PWTypeID CollisionManager::PWID_UNDEFINED = -1 |
|
static |
◆ TypeIDNextNumber
The type identifier next number.
The documentation for this class was generated from the following files: