16 lines
343 B
C++
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) { }
|
|
};
|