aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Transform.h')
-rw-r--r--src/crepe/Transform.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/crepe/Transform.h b/src/crepe/Transform.h
index 96da1a4..3e8d142 100644
--- a/src/crepe/Transform.h
+++ b/src/crepe/Transform.h
@@ -4,13 +4,19 @@
namespace crepe {
+struct Position
+{
+ int x;
+ int y;
+};
+
+
class Transform : public Component {
public:
- Transform(uint32_t gameObjectId,int mass, int gravityScale, int bodyType);
-
- int mass;
- int gravity_scale;
- int body_type;
+ Transform(uint32_t gameObjectId,Position position, int rotation, int scale);
+ Position postion;
+ int rotation;
+ int scale;
};
} // namespace crepe