Path: blob/master/SonicMania/Objects/HCZ/Blastoid.h
338 views
#ifndef OBJ_BLASTOID_H1#define OBJ_BLASTOID_H23#include "Game.h"45// Object Class6struct ObjectBlastoid {7RSDK_OBJECT8Hitbox hitboxBody;9Hitbox hitboxProjectile;10uint16 aniFrames;11uint16 sfxShot;12};1314// Entity Class15struct EntityBlastoid {16RSDK_ENTITY17StateMachine(state);18uint8 timer;19Animator animator;20};2122// Object Struct23extern ObjectBlastoid *Blastoid;2425// Standard Entity Events26void Blastoid_Update(void);27void Blastoid_LateUpdate(void);28void Blastoid_StaticUpdate(void);29void Blastoid_Draw(void);30void Blastoid_Create(void *data);31void Blastoid_StageLoad(void);32#if GAME_INCLUDE_EDITOR33void Blastoid_EditorDraw(void);34void Blastoid_EditorLoad(void);35#endif36void Blastoid_Serialize(void);3738// Extra Entity Functions39void Blastoid_DebugSpawn(void);40void Blastoid_DebugDraw(void);4142void Blastoid_CheckPlayerCollisions(void);4344void Blastoid_State_Init(void);45void Blastoid_State_Body(void);46void Blastoid_State_Projectile(void);4748#endif //! OBJ_BLASTOID_H495051