public void MoveToColony(Tile tile, int population) { var colony = Colonies.Where(c => c.Tile == tile).First(); colony.Population += population; if (colony.Population > MaximumPopulationInColony) { colony.Population = MaximumPopulationInColony; } }
public void DestroyColony(Tile tile) { Colonies.Remove(Colonies.Where(colony => colony.Tile == tile).First()); tile.OwnedBy = null; }