diff options
author | jaroWMR <jarorutjes07@gmail.com> | 2024-11-07 18:39:56 +0100 |
---|---|---|
committer | jaroWMR <jarorutjes07@gmail.com> | 2024-11-07 18:39:56 +0100 |
commit | e2f3ace383b43cc3f140629e577b97c6f69c9856 (patch) | |
tree | 690eb146e11a4bc134840ec82bfbea4805daba61 /src/crepe/api/GameObject.h | |
parent | 156906dca0b84d3fd3c889e1bcda12308b8fe793 (diff) |
added physics system
Diffstat (limited to 'src/crepe/api/GameObject.h')
-rw-r--r-- | src/crepe/api/GameObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/GameObject.h b/src/crepe/api/GameObject.h index 8389e6c..8dc102c 100644 --- a/src/crepe/api/GameObject.h +++ b/src/crepe/api/GameObject.h @@ -7,7 +7,7 @@ namespace crepe { -class Point; +class Vector2; /** * \brief Represents a GameObject @@ -30,7 +30,7 @@ public: * \param scale The scale of the GameObject */ GameObject(game_object_id_t id, const std::string & name, const std::string & tag, - const Point & position, double rotation, double scale); + const Vector2 & position, double rotation, double scale); /** * \brief Set the parent of this GameObject * |