ST_engine
0.3-ALPHA
|
This class handles all physics related actions in the engine. More...
#include <physics_manager.hpp>
Public Member Functions | |
physics_manager (message_bus &gMessageBus) | |
void | update (ST::level &level) |
This class handles all physics related actions in the engine.
Definition at line 21 of file physics_manager.hpp.
|
explicit |
Initializes the physics manager.
msg_bus | A pointer to the global message bus. |
tsk_mngr | A pointer to the global task_mngr. |
Definition at line 19 of file physics_manager.cpp.
void physics_manager::update | ( | ST::level & | level | ) |
Responds to messages from the subscriber object and updates the physics if they are not paused.
data | A pointer to the level data. (containing the entities that we need). |
Definition at line 171 of file physics_manager.cpp.