Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
Archivo: Tile.cs Proyecto: physic/18xx
 public virtual bool UpgradesTo(Tile tile)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 3
0
 public override bool UpgradesTo(Tile tile)
 {
     throw new NotImplementedException();
 }