aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Components.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Components.cpp')
-rw-r--r--src/crepe/Components.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/crepe/Components.cpp b/src/crepe/Components.cpp
new file mode 100644
index 0000000..9760daa
--- /dev/null
+++ b/src/crepe/Components.cpp
@@ -0,0 +1,13 @@
+#include "Components.h"
+#include <iostream>
+
+using namespace crepe;
+
+Component::Component() : mActive(true) {}
+
+Sprite::Sprite(std::string path) : mPath(path) {}
+
+Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
+ : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {}
+
+Colider::Colider(int size) : mSize(size) {}