aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/PlayerObject.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 09:43:53 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 09:43:53 +0100
commit743cdd5b2fe175605352c337396c3d70dac66247 (patch)
tree538c9713403f8746d629448190dc69305a15e82a /game/prefab/PlayerObject.h
parent8620f57f7101b2090add89330e74854b77161d3f (diff)
roll back player controller
Diffstat (limited to 'game/prefab/PlayerObject.h')
-rw-r--r--game/prefab/PlayerObject.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/game/prefab/PlayerObject.h b/game/prefab/PlayerObject.h
deleted file mode 100644
index a44d367..0000000
--- a/game/prefab/PlayerObject.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-#include <crepe/api/Animator.h>
-#include <crepe/api/BehaviorScript.h>
-#include <crepe/api/BoxCollider.h>
-#include <crepe/api/GameObject.h>
-#include <crepe/api/Rigidbody.h>
-#include <crepe/api/Sprite.h>
-
-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;
-};