diff options
Diffstat (limited to 'src/crepe/ComponentManager.cpp')
-rw-r--r-- | src/crepe/ComponentManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/ComponentManager.cpp b/src/crepe/ComponentManager.cpp index 97df1f3..2d12034 100644 --- a/src/crepe/ComponentManager.cpp +++ b/src/crepe/ComponentManager.cpp @@ -1,4 +1,5 @@ #include "api/GameObject.h" +#include "types.h" #include "util/Log.h" #include "ComponentManager.h" @@ -34,7 +35,7 @@ void ComponentManager::delete_all_components() { } GameObject ComponentManager::new_object(const string & name, const string & tag, - const Vector2 & position, double rotation, + const vec2 & position, double rotation, double scale) { // Find the first available id (taking persistent objects into account) while (this->persistent[this->next_id]) { |