public void SubtractShips(Ship ship, int amount) { if (ships.ContainsKey(ship)) { if (amount == -1) { //Remove this ship totally ships.Remove(ship); _orderedShips.Remove(ship); UpdateSpeed(); } else { ships[ship] -= amount; } } }