You are on page 1of 1

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

Header file for MarioMovementSM.c


based on the Gen 2 Events and Services Framework

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

#ifndef MarioMovementSM_H
#define MarioMovementSM_H

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

#include "ES_Events.h"

// defines used by public functions


#define MarioMovementTimer 3

// State definitions for use with the query function


typedef enum
{
PseudoState_MarioMovementSM, //PseudoState
MarioMoving,
MarioNotMoving
}MarioMovementSM_States_t;

// Public Function Prototypes

bool InitMarioMovementSM(uint8_t Priority);


bool PostMarioMovementSM(ES_Event_t ThisEvent);
ES_Event_t RunMarioMovementSM(ES_Event_t ThisEvent);

#endif /* MarioMovementSM_H */

You might also like