Enclosure files + firmware
This commit is contained in:
19
firmware/include/states/PausedState.h
Normal file
19
firmware/include/states/PausedState.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "State.h"
|
||||
|
||||
class PausedState : public State
|
||||
{
|
||||
public:
|
||||
PausedState();
|
||||
void enter() override;
|
||||
void update() override;
|
||||
void exit() override;
|
||||
|
||||
void setPause(int duration, unsigned long elapsedTime);
|
||||
|
||||
private:
|
||||
int duration;
|
||||
unsigned long pauseEnter;
|
||||
unsigned long elapsedTime;
|
||||
};
|
||||
Reference in New Issue
Block a user