buenzliai/main/state.h
2024-05-17 15:04:36 +02:00

16 lines
343 B
C++

#pragma once
#include <Arduino.h>
#include "station.h"
class Station;
class State {
public:
virtual ~State() = default;
virtual State* pickedUp() { return this; }
virtual State* putDown(Station* newStation) { return this; }
virtual State* update() { return this; }
virtual void updateDisplay(LiquidCrystal* lcd) { }
};