diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-17 12:22:34 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-17 12:22:34 +0100 |
commit | 88ac4197787086487a199c5af7d0f143ddc42432 (patch) | |
tree | ff80338eb0b847136d360ff27acf93439f2ce5c2 /src/example | |
parent | d3a7963c98286d7bc861a5712fee6a4b19f0ff2b (diff) |
Fixed typo
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/GameScene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/GameScene.cpp b/src/example/GameScene.cpp index 3b1629d..2c1f989 100644 --- a/src/example/GameScene.cpp +++ b/src/example/GameScene.cpp @@ -166,8 +166,8 @@ void GameScene::load_scene() { }); ceiling.add_component<BoxCollider>(vec2(INFINITY, 200)); - GameObject start_game_scritp = new_object("start_game_script", "script", vec2(0, 0)); - start_game_scritp.add_component<BehaviorScript>().set_script<StartGameScript>(); + GameObject start_game_script = new_object("start_game_script", "script", vec2(0, 0)); + start_game_script.add_component<BehaviorScript>().set_script<StartGameScript>(); } string GameScene::get_name() const { return "scene1"; } |