diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 09:52:05 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 09:52:05 +0100 |
commit | f4083c161a1176c900629ba61d96843645fc7be5 (patch) | |
tree | 0c136c9af142a4f7018a7441ec879b3b41da02c0 /src/crepe/api/GameObject.h | |
parent | bf4c172f2709adf5a6f210bae60e16972e8decad (diff) | |
parent | 6ce2c14077e3e6dd01398d582b42dc50e9141f54 (diff) |
Merge remote-tracking branch 'origin/master' into max/scenes
Diffstat (limited to 'src/crepe/api/GameObject.h')
-rw-r--r-- | src/crepe/api/GameObject.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/GameObject.h b/src/crepe/api/GameObject.h index dcd33ad..4c87639 100644 --- a/src/crepe/api/GameObject.h +++ b/src/crepe/api/GameObject.h @@ -9,9 +9,8 @@ namespace crepe { class GameObject { public: - GameObject(uint32_t id, std::string name, std::string tag, Point position, - double rotation, double scale); - void set_parent(GameObject & parent); + GameObject(uint32_t id, std::string name, std::string tag, const Point & position, double rotation, double scale); + void set_parent(const GameObject & parent); template <typename T, typename... Args> T & add_component(Args &&... args); |