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