public void RemoveOwnershipOfHex(Hex h) { if (OwnedHexes.Contains(h)) { OwnedHexes.Remove(h); h.IsOwned = false; Debug.Log("City lost ownership of hex!"); } }
// // Hex Ownership // public void TakeOwnershipOfHex(Hex hex) { // check if hex is already under ownership if (hex.IsOwned == false) { OwnedHexes.Add(hex); hex.OwnedByFactionID = FactionID; Debug.Log("Hex added to City ownership!"); } }