diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 18:46:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 18:46:06 +0100 |
commit | 0aa97807cb9b7f1d1850449dd5a5e45b961445ce (patch) | |
tree | 8f6a808669a39f5b8d91079ecb30c3d1f11e9e02 /src/crepe/ComponentManager.h | |
parent | bc2a31190b5afe7754b04e9c61fcda30e577d7d8 (diff) |
fix scene_manager example
Diffstat (limited to 'src/crepe/ComponentManager.h')
-rw-r--r-- | src/crepe/ComponentManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/ComponentManager.h b/src/crepe/ComponentManager.h index 75606e0..31a8bfa 100644 --- a/src/crepe/ComponentManager.h +++ b/src/crepe/ComponentManager.h @@ -101,7 +101,7 @@ public: std::vector<std::reference_wrapper<T>> get_components_by_type() const; // TODO: doxygen - GameObject & new_object(const std::string & name, + GameObject new_object(const std::string & name, const std::string & tag = "", const Vector2 & position = {0, 0}, double rotation = 0, double scale = 0); |