SPQR-Team-2019-REVAMPED/src/game.cpp

14 lines
230 B
C++
Raw Normal View History

2019-12-02 17:25:22 +01:00
#include "game.h"
Game::Game() {}
2019-12-26 17:44:58 +01:00
Game::Game(LineSystem* ls_, PositionSystem* ps_) {
this->ls = ls_;
this->ps = ps_;
}
2019-12-02 17:25:22 +01:00
2019-12-11 16:29:18 +01:00
void Game::play(bool condition){
2019-12-26 17:44:58 +01:00
ps->update();
if(condition) realPlay();
2019-12-26 17:44:58 +01:00
ls->update();
}