migration to platformio
This commit is contained in:
commit
cad91967b1
22 changed files with 2985 additions and 0 deletions
17
src/state.h
Normal file
17
src/state.h
Normal 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 ""; }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue