UGDK
0.5.0
|
#include "pyramidworks/collision/collisionmanager.h"
Public Member Functions | |
CollisionManager (const ugdk::structure::Box< 2 > &tree_bounding_box) | |
CollisionManager (const CollisionManager &)=delete | |
~CollisionManager () | |
CollisionManager & | operator= (const CollisionManager &)=delete |
CollisionClass & | Find (const std::string &name) |
Returns a CollisionClass of the asked name. More... | |
void | ChangeClassParent (const std::string &name, const std::string &parent) |
Changes the parent of a CollisionClass. More... | |
void | AddActiveObject (const CollisionObject *obj) |
void | RemoveActiveObject (const CollisionObject *obj) |
const std::set< const CollisionObject * > & | active_objects () const |
ugdk::system::Task | GenerateHandleCollisionTask (double priority) |
Warning: this task depends on resources from this object. Do not use it after this object is destroyed. More... | |
An instance of the collision system.
|
explicit |
|
delete |
pyramidworks::collision::CollisionManager::~CollisionManager | ( | ) |
|
inline |
|
inline |
void pyramidworks::collision::CollisionManager::ChangeClassParent | ( | const std::string & | name, |
const std::string & | parent | ||
) |
Changes the parent of a CollisionClass.
name | The name of the class whose parent will be changed. |
parent | The name of the parent class. |
CollisionClass& pyramidworks::collision::CollisionManager::Find | ( | const std::string & | name | ) |
Returns a CollisionClass of the asked name.
Searches for a CollisionClass with the given name, creating it if none is found.
name | The name to search for. |
ugdk::system::Task pyramidworks::collision::CollisionManager::GenerateHandleCollisionTask | ( | double | priority | ) |
Warning: this task depends on resources from this object. Do not use it after this object is destroyed.
|
delete |
|
inline |