diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 18:48:46 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 18:48:46 +0100 |
commit | 3fe7400de095756362b999908fd2a2ba3b71a848 (patch) | |
tree | 8a6c6d4213fdab076a451f37e6471ca5965b2c8f /src/crepe/api/GameObject.h | |
parent | ae6a103946e437ca85cc69c5fc2cbf68d35ffeae (diff) |
merge #18
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); |