SPQR-Team-2019-REVAMPED/include/systems/systems.h

32 lines
697 B
C
Raw Normal View History

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;
virtual void goCenter() = 0;
virtual void centerGoal() = 0;
};
class LineSystemEmpty : public LineSystem{
public:
LineSystemEmpty();
void update() override;
void test() override;
};
class PositionSystemEmpty : public PositionSystem{
public:
PositionSystemEmpty();
void update() override;
void test() override;
void goCenter() override;
void centerGoal() override;
2019-12-26 17:44:58 +01:00
};