Exemplo n.º 1
0
 /// <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();
 }
Exemplo n.º 2
0
 /// <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();
 }