2019-12-02 17:25:22 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "vars.h"
|
2019-12-09 19:08:05 +01:00
|
|
|
#include "sensors.h"
|
2019-12-26 17:44:58 +01:00
|
|
|
#include "systems.h"
|
2019-12-02 17:25:22 +01:00
|
|
|
|
2019-12-09 19:08:05 +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);
|
2019-12-09 19:08:05 +01:00
|
|
|
void play(bool condition=true);
|
|
|
|
private:
|
|
|
|
virtual void realPlay() = 0;
|
2019-12-26 17:44:58 +01:00
|
|
|
virtual void init() = 0;
|
|
|
|
LineSystem* ls;
|
|
|
|
PositionSystem* ps;
|
2019-12-02 17:25:22 +01:00
|
|
|
};
|