buenzliai/main/states.h

30 lines
606 B
C
Raw Normal View History

2024-05-17 13:04:36 +00:00
#pragma once
#include <Arduino.h>
#include "state.h"
#include "states.h"
#include "station.h"
class OnTheMove : public State {
private:
Station* targetStation;
public:
OnTheMove(Station* targetStation);
State* putDown(Station* newSation) override;
};
class Hacking : public State {
private:
Station* currentStation;
public:
Hacking(Station* currentStation);
State* pickedUp() override;
};
class WaitingForPickup : public State {
private:
Station* currentStation;
Station* targetStation;
public:
WaitingForPickup(Station* currentStation, Station* targetStation);
State* pickedUp();
};