3355d0c9d5a3d588700c423f529cfe540b92ff5d
[physics.git] / src / GameStates / Running.cpp
1 #include "Running.h"
2
3 #include "../entityManager.h"
4
5
6 /// ***** Constructors/Destructors *****
7
8 Running::Running()
9 {
10     manager::init();
11 }
12 Running::~Running()
13 {
14     manager::clean();
15 }
16
17 /// ***** Public Class Methods *****
18
19 void Running::handleInput(bool on_top) const
20 {
21     if( on_top )
22     {
23         manager::handleInput();
24     }
25 }
26 void Running::update(float time_step, bool on_top) const
27 {
28     if( on_top )
29     {
30         manager::update(time_step);
31     }
32 }
33 void Running::draw(bool on_top) const
34 {
35     manager::draw();
36 }