migration to platformio

This commit is contained in:
Marcel 2024-05-23 16:16:00 +02:00
commit cad91967b1
22 changed files with 2985 additions and 0 deletions

17
src/state.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include "station.h"
#include "context.h"
class Station;
class State
{
public:
virtual ~State() = default;
virtual State* pickedUp(Context context) { return this; }
virtual State* putDown(Context context, Station* newStation) { return this; }
virtual State* update(Context context) { return this; }
virtual String updateDisplay() { return ""; }
};