Adds optional arguments to systems

This commit is contained in:
nejdetckenobi committed 2026-10-10 18:35:06 +03:00
1 parent d50c5f7ef9
commit f6a1f2577d
1 file changed
+2 -2
+2 -2
View File
@@ -52,6 +52,6 @@ class World:
return componentstorage[entity] return componentstorage[entity]
return None return None
def tick(self): def tick(self, **args):
for system in self.systems: for system in self.systems:
system.process(self) system.process(self, **args)