#ifndef OBJ_POPCORNKERNEL_H #define OBJ_POPCORNKERNEL_H #include "Game.h" // Object Class struct ObjectPopcornKernel { RSDK_OBJECT uint16 aniFrames; }; // Entity Class struct EntityPopcornKernel { RSDK_ENTITY StateMachine(state); int32 unused1; int32 angleVel; int32 gravityStrength; int32 maxY; Vector2 bounds; Animator animator; }; // Object Struct extern ObjectPopcornKernel *PopcornKernel; // Standard Entity Events void PopcornKernel_Update(void); void PopcornKernel_LateUpdate(void); void PopcornKernel_StaticUpdate(void); void PopcornKernel_Draw(void); void PopcornKernel_Create(void *data); void PopcornKernel_StageLoad(void); #if RETRO_INCLUDE_EDITOR void PopcornKernel_EditorDraw(void); void PopcornKernel_EditorLoad(void); #endif void PopcornKernel_Serialize(void); // Extra Entity Functions void PopcornKernel_State_BounceAround(void); void PopcornKernel_State_RiseUp(void); void PopcornKernel_State_FallDown(void); #endif //! OBJ_POPCORNKERNEL_H