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

Gameplayh

This document contains function prototypes and definitions for a hierarchical state machine (HSM) or statechart used for game play. It defines an enumeration for the top state, and prototypes functions for running, starting, posting to, and initializing the master state machine, including taking an event as a parameter and returning a boolean.

Uploaded by

api-397509789
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)
48 views1 page

Gameplayh

This document contains function prototypes and definitions for a hierarchical state machine (HSM) or statechart used for game play. It defines an enumeration for the top state, and prototypes functions for running, starting, posting to, and initializing the master state machine, including taking an event as a parameter and returning a boolean.

Uploaded by

api-397509789
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

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

Derived from template header file for Hierarchical State Machines AKA
StateCharts

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

#ifndef GamePlayHSM_H
#define GamePlayHSM_H

// State definitions for use with the query function


typedef enum { TOP_STATE } MasterState_t;

// Public Function Prototypes

ES_Event_t RunMasterSM(ES_Event_t CurrentEvent);


void StartMasterSM(ES_Event_t CurrentEvent);
bool PostMasterSM(ES_Event_t ThisEvent);
bool InitMasterSM(uint8_t Priority);

#endif /*GamePlayHSM_H */

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy