示例#1
0
 public override bool TerritoryCompatible(Territory t) => t.TerritoryType == TerritoryType.Sea || t.TerritoryType == TerritoryType.Coast;
示例#2
0
 public bool Equals(Territory other)
 {
     return(Name == other.Name);
 }
示例#3
0
 public abstract bool TerritoryCompatible(Territory t);
示例#4
0
 public bool SupplyCenterIsOwnedBy(Territory t, Coalition c) => c.Members.Any(p => SupplyCenterIsOwnedBy(t, p));
示例#5
0
 public bool SupplyCenterIsOwnedBy(Territory t, Powers p) => t.IsSupplyCenter ? OwnedSupplyCenters[p].Contains(t) : false;
示例#6
0
 public bool IsUnoccupied(Territory t) => !IsOccupied(t);
示例#7
0
 public bool IsOccupied(Territory t) => OccupiedTerritories.ContainsKey(t);