diff options
Diffstat (limited to 'src/doc')
-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); } |