#include <collisionperceptor.h>
Inheritance diagram for CollisionPerceptor:
Public Member Functions | |
bool | Percept (boost::shared_ptr< oxygen::PredicateList > predList) |
const zeitgeist::Leaf::TLeafList & | GetCollidees () |
returns the stored list of collidees | |
void | AddCollidee (boost::shared_ptr< zeitgeist::Node > collidee) |
stores a new collidee | |
Protected Member Functions | |
virtual void | PrePhysicsUpdateInternal (float deltaTime) |
removes old collidees left over from the previous cycles | |
Protected Attributes | |
zeitgeist::Leaf::TLeafList | mCollidees |
It is inteded to be used together with the PerceptorHandler that passes collision information from the physics system on to this perceptor.
Definition at line 32 of file collisionperceptor.h.
|
stores a new collidee
|
|
returns the stored list of collidees
Definition at line 41 of file collisionperceptor.h. References mCollidees. |
|
Implements oxygen::Perceptor. |
|
removes old collidees left over from the previous cycles
Reimplemented from oxygen::BaseNode. Definition at line 53 of file collisionperceptor.cpp. References mCollidees. |
|
Definition at line 51 of file collisionperceptor.h. Referenced by GetCollidees(), and PrePhysicsUpdateInternal(). |