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