/****************************************************************************

  Header file for Game Control service for ME218B Project Team 3

 ****************************************************************************/

#ifndef GameControlService_H
#define GameControlService_H

#include <stdint.h>
#include <stdbool.h>

#include "ES_Events.h"

typedef enum { InitGState, WaitingforREG, GameOff, GameOn, TimeToDump }
GameControlState_t;

// Public Function Prototypes

bool InitGameControlService(uint8_t Priority);
bool PostGameControlService(ES_Event_t ThisEvent);
ES_Event_t RunGameControlService(ES_Event_t ThisEvent);
GameControlState_t QueryGameControl(void);

uint16_t GetOurLandfillFreq(void);
uint16_t GetOurRecycleBeaconFreq(void);

#endif /* GameControlService_H */