#ifndef GameLogicFSM_H
#define GameLogicFSM_H
// Event Definitions
#include "ES_Configure.h" /* gets us event definitions */
#include "ES_Types.h" /* gets bool type for returns */
// typedefs for the states
// State definitions for use with the query function
typedef enum
{
GAME_INIT, GAME_IDLE, GAME_PLAYING, GAME_GAMEOVER
} GameState_t;
// global variables
extern int currentHit;
extern bool gameStarted;
// Public Function Prototypes
bool InitGameLogicFSM(uint8_t Priority);
bool PostGameLogicFSM(ES_Event_t ThisEvent);
ES_Event_t RunGameLogicFSM(ES_Event_t ThisEvent);
int envelopeStep(void);
#endif /* GameLogicFSM_H */