broken composition and signals
This commit is contained in:
@@ -9,4 +9,8 @@ public static class NodeExtensions
|
||||
{
|
||||
return nodes == null ? System.Array.Empty<IDamageable>() : nodes.OfType<IDamageable>().ToArray();
|
||||
}
|
||||
public static IKillable[] ToIKillables(this GodotObject[] nodes)
|
||||
{
|
||||
return nodes == null ? System.Array.Empty<IKillable>() : nodes.OfType<IKillable>().ToArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user