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; }
public virtual bool UpgradesTo(Tile tile) { throw new NotImplementedException(); }
public override bool UpgradesTo(Tile tile) { throw new NotImplementedException(); }