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

30 lines
639 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:
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
};