#pragma once #include #include #include #include #include #include class PlayerObject : public crepe::GameObject { public: PlayerObject(crepe::GameObject &&); public: struct { crepe::Sprite & body; crepe::Sprite & head; crepe::Sprite & jetpack; } sprite; struct { crepe::Animator & body; crepe::Animator & head; crepe::Animator & jetpack; } animator; crepe::Rigidbody & body; crepe::BoxCollider & collider; crepe::BehaviorScript & controller; };