/// <summary> /// Removes a crafting station to the set. Invokes <see cref="OnCraftingUpdate"/>. /// </summary> /// <param name="craftingStation">The old crafting station (aka to be removed)</param> public void RemoveCraftingStation(CraftingStation craftingStation) { _craftingStations.Remove(craftingStation); OnCraftingUpdate?.Invoke(); }
/// <summary> /// Adds a crafting station to the set. Invokes <see cref="OnCraftingUpdate"/>. /// </summary> /// <param name="craftingStation">The new crafting station</param> public void AddCraftingStation(CraftingStation craftingStation) { _craftingStations.Add(craftingStation); OnCraftingUpdate?.Invoke(); }