From b3e991afa5c3c362317616aad68e30889cf3ef40 Mon Sep 17 00:00:00 2001 From: max-001 Date: Tue, 5 Nov 2024 13:20:44 +0100 Subject: Changed examples a bit to work with new GameObject class --- src/example/particle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/example/particle.cpp') diff --git a/src/example/particle.cpp b/src/example/particle.cpp index 53fa213..fe8a43b 100644 --- a/src/example/particle.cpp +++ b/src/example/particle.cpp @@ -25,7 +25,7 @@ int main(int argc, char * argv[]) { } GameObject * game_object[1]; - game_object[0] = new GameObject(0, "Name", "Tag", 0); + game_object[0] = new GameObject(0, "Name", "Tag", Point{0, 0}, 0, 1); // FIXME: all systems are singletons, so this shouldn't even compile. ParticleSystem particle_system; -- cgit v1.2.3