2019-12-26 17:44:58 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class LineSystem{
|
|
|
|
public:
|
|
|
|
virtual void update() = 0;
|
|
|
|
virtual void test() = 0;
|
2020-01-13 17:07:26 +01:00
|
|
|
bool tookLine;
|
2019-12-26 17:44:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
class PositionSystem{
|
|
|
|
public:
|
|
|
|
virtual void update() = 0;
|
|
|
|
virtual void test() = 0;
|
2020-12-23 21:16:50 +01:00
|
|
|
virtual void goCenter() = 0;
|
|
|
|
virtual void centerGoal() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class LineSystemEmpty : public LineSystem{
|
|
|
|
public:
|
|
|
|
void update() override;
|
|
|
|
void test() override;
|
|
|
|
};
|
|
|
|
|
|
|
|
class PositionSystemEmpty : public PositionSystem{
|
|
|
|
public:
|
|
|
|
void update() override;
|
|
|
|
void test() override;
|
|
|
|
void goCenter() override;
|
|
|
|
void centerGoal() override;
|
2019-12-26 17:44:58 +01:00
|
|
|
};
|