aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/GameObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/GameObject.h')
-rw-r--r--src/crepe/api/GameObject.h4
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
*