aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Components.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 15:28:12 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 15:28:12 +0200
commitaa8755148cbca29b584f7a146636b506070717f9 (patch)
tree275644d2f2cbf5de1c0aa82a3cb05df03ea9fff4 /src/crepe/Components.cpp
parent39815f58e3842bb28e644e83111a619bd1374855 (diff)
move components to separate files
Diffstat (limited to 'src/crepe/Components.cpp')
-rw-r--r--src/crepe/Components.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/crepe/Components.cpp b/src/crepe/Components.cpp
deleted file mode 100644
index f27c7a4..0000000
--- a/src/crepe/Components.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "Components.h"
-
-using namespace crepe;
-using namespace std;
-
-Component::Component() : active(true) {}
-
-Sprite::Sprite(string path) : path(path) {}
-
-Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
- : mass(mass), gravity_scale(gravityScale), body_type(bodyType) {}
-
-Collider::Collider(int size) : size(size) {}