Rune Engine  Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
physics::BoxCollider Class Reference
Inheritance diagram for physics::BoxCollider:
Collaboration diagram for physics::BoxCollider:

Public Member Functions

AABB computeAABB () override
 Computes the appropriate physics::AABB that should be given to the collider.
 
- Public Member Functions inherited from physics::Collider
 Collider ()
 Default empty constructor to make a new collider.
 
- Public Member Functions inherited from rune::Subject
void subscribe (Observer &newObserver)
 Tell the subject that an observer would like to be notified of signals. More...
 
bool unsubscribe (Observer &newObserver)
 Tell the subject that an observer would no longer like to be notified of signals. More...
 

Additional Inherited Members

- Protected Member Functions inherited from rune::Subject
void sendSignal (Signal)
 Send a signal to all observers. More...
 
int getNumObservers (void)
 Get the number of observers subscribed to this subject. More...
 
- Protected Attributes inherited from physics::Collider
AABB boundingBox
 The axis aligned bounding box that surrounds the collider.
 
rune::Vec2 offset
 The amount of offset from the center of the AABB that should be applied.
 
- Protected Attributes inherited from rune::Subject
std::vector< Observer * > observers
 List of observers currently subscribed to this object.
 

The documentation for this class was generated from the following files: