Exemple #1
0
    public override void NET_RemoveBlock(Point pos)
    {
        ITile t = this[pos];

        MyAssert.Assert(t.IsEmpty());
        MyAssert.Assert(walls[pos] != null);

        UnityEngine.Object.Destroy(walls[pos]);
    }
Exemple #2
0
 public bool CanMove(ITile unitTile, ITile targetTile, ITile[] board)
 => targetTile.IsEmpty();