SPQR-Team1-2020/include/game.h

17 lines
343 B
C
Raw Normal View History

2019-12-02 17:25:22 +01:00
#pragma once
#include "vars.h"
#include "sensors.h"
2019-12-26 17:44:58 +01:00
#include "systems.h"
2019-12-02 17:25:22 +01:00
class Game {
2019-12-02 17:25:22 +01:00
public:
Game();
2019-12-26 17:44:58 +01:00
Game(LineSystem* ls, PositionSystem* ps);
void play(bool condition=true);
2020-01-13 17:07:26 +01:00
LineSystem* ls;
PositionSystem* ps;
private:
virtual void realPlay() = 0;
2019-12-26 17:44:58 +01:00
virtual void init() = 0;
2019-12-02 17:25:22 +01:00
};