17 lines
343 B
C++
Executable File
17 lines
343 B
C++
Executable File
#pragma once
|
|
|
|
#include "vars.h"
|
|
#include "sensors.h"
|
|
#include "systems.h"
|
|
|
|
class Game {
|
|
public:
|
|
Game();
|
|
Game(LineSystem* ls, PositionSystem* ps);
|
|
void play(bool condition=true);
|
|
private:
|
|
virtual void realPlay() = 0;
|
|
virtual void init() = 0;
|
|
LineSystem* ls;
|
|
PositionSystem* ps;
|
|
}; |