#ifndef OBJ_BALLHOG_H #define OBJ_BALLHOG_H #include "Game.h" // Object Class struct ObjectBallHog { RSDK_OBJECT Hitbox hitboxBadnik; Hitbox hitboxBomb; uint16 aniFrames; uint16 sfxExplosion; uint16 sfxArrowHit; uint16 sfxDrop; uint16 sfxJump; }; // Entity Class struct EntityBallHog { RSDK_ENTITY StateMachine(state); uint8 numJumps; uint8 bombTime; uint8 timer; uint8 jumpCount; Vector2 startPos; uint8 startDir; Animator animator; }; // Object Struct extern ObjectBallHog *BallHog; // Standard Entity Events void BallHog_Update(void); void BallHog_LateUpdate(void); void BallHog_StaticUpdate(void); void BallHog_Draw(void); void BallHog_Create(void *data); void BallHog_StageLoad(void); #if RETRO_INCLUDE_EDITOR void BallHog_EditorDraw(void); void BallHog_EditorLoad(void); #endif void BallHog_Serialize(void); // Extra Entity Functions void BallHog_DebugSpawn(void); void BallHog_DebugDraw(void); void BallHog_CheckPlayerCollisions(void); void BallHog_CheckOffScreen(void); void BallHog_State_Init(void); void BallHog_State_Idle(void); void BallHog_State_Jump(void); void BallHog_State_Land(void); void BallHog_State_DropBomb(void); void BallHog_State_Bomb(void); #endif //! OBJ_BALLHOG_H