protected override bool CheckTerrainCompatability() { LandType landStartPoint = MapObject.CheckLandType(this.StartPointX, this.StartPointY); LandType landEndPoint = MapObject.CheckLandType(this.EndPointX, this.EndPointY); return((landStartPoint == LandType.Mainland || landStartPoint == LandType.Shore) && (landEndPoint == LandType.Mainland || landEndPoint == LandType.Shore)); }
protected override bool CheckTerrainCompatability() { LandType land = MapObject.CheckLandType(this.NodeX, this.NodeY); return(land == LandType.Mainland || land == LandType.Shore); }