aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index 70b16bd..a244bc5 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -1,16 +1,11 @@
-#include <cstdint>
-
-#include "api/Point.h"
#include "util/log.h"
-#include "Component.h"
#include "Transform.h"
using namespace crepe;
-Transform::Transform(uint32_t game_id, const Point & point, double rot,
- double scale)
- : Component(game_id), position(point), rotation(rot), scale(scale) {
+Transform::Transform(game_object_id_t id, const Vector2 & point,
+ double rotation, double scale)
+ : Component(id), position(point), rotation(rotation), scale(scale) {
dbg_trace();
}
-Transform::~Transform() { dbg_trace(); }