#pragma once #include #include #include "state.h" #include "station.h" #include "context.h" class StateMachine { private: State* currentState; void updateState(State* newState); public: StateMachine(State* initialState); ~StateMachine(); void pickedUp(); void putDown(Station* newSation); void update(Context context); void updateDisplay(LiquidCrystal* lcd); };