Пример #1
0
        public override bool UpgradesTo(Tile tile)
        {
            if ((Id != null && tile.Id != null) || !(tile is SimpleTile)) return base.UpgradesTo(tile);

            SimpleTile other = (SimpleTile)tile;
            return (this.exits.IsSubsetOf(other.exits)) && other.Phase == this.Phase + 1;
        }
Пример #2
0
 public virtual bool UpgradesTo(Tile tile)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 public override bool UpgradesTo(Tile tile)
 {
     throw new NotImplementedException();
 }