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