diff options
Diffstat (limited to 'src/crepe/Transform.h')
-rw-r--r-- | src/crepe/Transform.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/crepe/Transform.h b/src/crepe/Transform.h new file mode 100644 index 0000000..3e8d142 --- /dev/null +++ b/src/crepe/Transform.h @@ -0,0 +1,22 @@ +#pragma once + +#include "Component.h" + +namespace crepe { + +struct Position +{ + int x; + int y; +}; + + +class Transform : public Component { +public: + Transform(uint32_t gameObjectId,Position position, int rotation, int scale); + Position postion; + int rotation; + int scale; +}; + +} // namespace crepe |