0% found this document useful (0 votes)
80 views1 page

Gamemastersm

This header file defines functions and enumerations for a GameMaster state machine. It defines enumerations for game states like FaceOff, Offense, and Defense. It also prototypes functions for running, starting, posting to, and initializing the GameMaster state machine, including a function to run it that takes an event as a parameter.

Uploaded by

api-397492879
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views1 page

Gamemastersm

This header file defines functions and enumerations for a GameMaster state machine. It defines enumerations for game states like FaceOff, Offense, and Defense. It also prototypes functions for running, starting, posting to, and initializing the GameMaster state machine, including a function to run it that takes an event as a parameter.

Uploaded by

api-397492879
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

Header file for GameMasterSM

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

#ifndef GameMasterSM_H
#define GameMasterSM_H

// State definitions for use with the query function


typedef enum { GameNotActive, FaceOff, Offense, Defense } GameMasterState_t ;

// Public Function Prototypes

ES_Event_t RunGameMasterSM( ES_Event_t CurrentEvent );


void StartGameMasterSM ( ES_Event_t CurrentEvent );
bool PostGameMasterSM( ES_Event_t ThisEvent );
bool InitGameMasterSM ( uint8_t Priority );

#endif /*GameMasterSM_H */

You might also like