aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/GameObject.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-11-07 18:39:56 +0100
committerjaroWMR <jarorutjes07@gmail.com>2024-11-07 18:39:56 +0100
commite2f3ace383b43cc3f140629e577b97c6f69c9856 (patch)
tree690eb146e11a4bc134840ec82bfbea4805daba61 /src/crepe/api/GameObject.cpp
parent156906dca0b84d3fd3c889e1bcda12308b8fe793 (diff)
added physics system
Diffstat (limited to 'src/crepe/api/GameObject.cpp')
-rw-r--r--src/crepe/api/GameObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/GameObject.cpp b/src/crepe/api/GameObject.cpp
index 15330f3..d252e77 100644
--- a/src/crepe/api/GameObject.cpp
+++ b/src/crepe/api/GameObject.cpp
@@ -7,7 +7,7 @@ using namespace crepe;
using namespace std;
GameObject::GameObject(game_object_id_t id, const std::string & name,
- const std::string & tag, const Point & position,
+ const std::string & tag, const Vector2 & position,
double rotation, double scale)
: id(id) {
// Add Transform and Metadata components