diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-22 09:39:23 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-22 09:39:23 +0100 |
commit | 7f1ba9e90ddcdbcd3b6ab11c5796ef8043f71cc1 (patch) | |
tree | 5ba4faa05010f39f595646a636a9ef1bcfe6294f /src | |
parent | 7c21e34ae1898fce8c8051b5f1380e268da32140 (diff) |
Updated documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/doc/feature/scene.dox | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/feature/scene.dox b/src/doc/feature/scene.dox index 5f34446..5d765f9 100644 --- a/src/doc/feature/scene.dox +++ b/src/doc/feature/scene.dox @@ -42,10 +42,8 @@ using namespace crepe; class MyScene : public Scene { public: - using Scene::Scene; - void load_scene() { - auto & mgr = this->component_manager; + ComponentManager & mgr = this->component_manager; GameObject object1 = mgr.new_object("object1", "tag_my_scene", Vector2{0, 0}, 0, 1); GameObject object2 = mgr.new_object("object2", "tag_my_scene", Vector2{1, 0}, 0, 1); } |