#pragma once #include #include class PlayerScript : public crepe::Script { public: void init(); void fixed_update(crepe::duration_t dt); private: bool on_collision(const crepe::CollisionEvent & ev); private: int prev_anim = 0; };