aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Components.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Components.h')
-rw-r--r--src/crepe/Components.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/crepe/Components.h b/src/crepe/Components.h
deleted file mode 100644
index 139599c..0000000
--- a/src/crepe/Components.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-
-#include <string>
-
-namespace crepe {
-
-class Component {
-public:
- Component();
-
- bool active;
-};
-
-// TODO: these should be in separate files
-
-class Sprite : public Component {
-public:
- Sprite(std::string path);
-
- std::string path;
-};
-
-class Rigidbody : public Component {
-public:
- Rigidbody(int mass, int gravityScale, int bodyType);
-
- int mass;
- int gravity_scale;
- int body_type;
-};
-
-class Collider : public Component {
-public:
- Collider(int size);
-
- int size;
-};
-
-} // namespace crepe