aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
Diffstat (limited to 'src/example')
-rw-r--r--src/example/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp
index f8520f4..7c9a227 100644
--- a/src/example/game.cpp
+++ b/src/example/game.cpp
@@ -262,7 +262,7 @@ public:
= false;
Asset img5{"asset/texture/square.png"};
- GameObject particle = mgr.new_object(
+ GameObject particle = new_object(
"Name", "Tag", vec2{screen_size_width / 2, screen_size_height / 2}, 0, 1);
auto & particle_image = particle.add_component<Sprite>(img5, Sprite::Data{
.size = {5, 5},