About to remove events

This commit is contained in:
2026-02-08 15:07:02 -05:00
parent e987c8092f
commit 6f16a1170f
19 changed files with 209 additions and 168 deletions

View File

@@ -33,7 +33,7 @@ public sealed partial class Scene
List<Body> _bodies = new List<Body>();
foreach (Body body in bodies)
if (body.tags.Contains(tag))
if (body._tags.Contains(tag))
_bodies.Add(body);
@@ -45,7 +45,7 @@ public sealed partial class Scene
public Body GetBody(string tag) {
foreach (Body body in bodies)
if (body.tags.Contains(tag))
if (body._tags.Contains(tag))
return body;
throw new Exception("No Body found with the tag " + tag);