/**************************************************************************** Template header file for Hierarchical Sate Machines AKA StateCharts 02/08/12 adjsutments for use with the Events and Services Framework Gen2 3/17/09 Fixed prototpyes to use Event_t ****************************************************************************/ #ifndef JoustingHSM_H #define JoustingHSM_H // typedefs for the states // State definitions for use with the query function typedef enum {WAITINGJOUST, FINDKNIGHT, HITKNIGHT, CONTINUE2END, FINISHEDJOUST} JoustingState_t ; // Public Function Prototypes ES_Event RunJoustingHSM( ES_Event CurrentEvent ); void StartJoustingHSM ( ES_Event CurrentEvent ); JoustingState_t QueryJoustingHSM ( void ); #endif /*SHMTemplate_H */