Inventory management focused game written in Godot / C#
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
449 B

public partial class Workshops : Node
, IReadOnlyCollection<Workshop>
{
public Workshop ByPeerId(int peerId)
=> this.GetNodeOrThrow<Workshop>(peerId.ToString());
// IReadOnlyCollection implementation
public int Count
=> GetChildCount();
public IEnumerator<Workshop> GetEnumerator()
=> GetChildren().Cast<Workshop>().GetEnumerator();
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
=> GetEnumerator();
}