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