public void UpgradeRack <TRackType>() where TRackType : IRack { Racks.Find(rack => rack is TRackType). Upgrade(); }
public void FillRack <TRackType>(int amount) where TRackType : IRack { Racks.Find(rack => rack is TRackType). Fill(amount); }
public void UpgradeRack <TRackType>() where TRackType : IRack { Racks.Find(rack => rack is TRackType). Upgrade(); }
public void FillRack <TRackType>(int amount) where TRackType : IRack { Racks.Find(rack => rack is TRackType). Fill(amount); }