ST_engine  0.3-ALPHA
Public Member Functions | List of all members
physics_manager Class Reference

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)
 

Detailed Description

This class handles all physics related actions in the engine.

Definition at line 21 of file physics_manager.hpp.

Constructor & Destructor Documentation

◆ physics_manager()

physics_manager::physics_manager ( message_bus gMessageBus)
explicit

Initializes the physics manager.

Parameters
msg_busA pointer to the global message bus.
tsk_mngrA pointer to the global task_mngr.

Definition at line 19 of file physics_manager.cpp.

Member Function Documentation

◆ update()

void physics_manager::update ( ST::level level)

Responds to messages from the subscriber object and updates the physics if they are not paused.

Parameters
dataA pointer to the level data. (containing the entities that we need).

Definition at line 171 of file physics_manager.cpp.


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