diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 11:37:49 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 11:37:49 +0100 |
commit | 02cdbd367d701d8d858806f45bfe2f15b392bb59 (patch) | |
tree | 1f474c4a2d3793c171ea1eb7405fccab32ae22dd /src/example/game.cpp | |
parent | 5b7f4b3461a7108c8c320ffaa239b11b6ef5933c (diff) |
made test function and fixed static value
Diffstat (limited to 'src/example/game.cpp')
-rw-r--r-- | src/example/game.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp index a9f6103..b6a0c31 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -26,7 +26,6 @@ class MyScript : public Script { } void update() { // Retrieve component from the same GameObject this script is on - } }; @@ -35,8 +34,8 @@ public: using Scene::Scene; void load_scene() { - ComponentManager & mgr = this->component_manager; - Color color(0, 0, 0, 0); + ComponentManager & mgr = this->component_manager; + Color color(0, 0, 0, 0); double screen_size_width = 640; double screen_size_height = 480; |