![]() |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
Public Member Functions | |
AABB | computeAABB () override |
Computes the appropriate physics::AABB that should be given to the collider. | |
![]() | |
Collider () | |
Default empty constructor to make a new collider. | |
![]() | |
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 | |
![]() | |
void | sendSignal (Signal) |
Send a signal to all observers. More... | |
int | getNumObservers (void) |
Get the number of observers subscribed to this subject. More... | |
![]() | |
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. | |
![]() | |
std::vector< Observer * > | observers |
List of observers currently subscribed to this object. | |