Esempio n. 1
0
        protected virtual void AddUnbreakableWall(BaseUnbreakableWall unbreakableWall)
        {
            CollisionLayer[unbreakableWall.CellPositionX, unbreakableWall.CellPositionY] = true;
            Board[unbreakableWall.CellPositionX, unbreakableWall.CellPositionY]          = unbreakableWall;

            _baseUnbreakableWallList.Add(unbreakableWall);
        }
Esempio n. 2
0
        protected virtual void AddUnbreakableWall(BaseUnbreakableWall unbreakableWall)
        {
            CollisionLayer[unbreakableWall.CellPositionX, unbreakableWall.CellPositionY] = true;
            Board[unbreakableWall.CellPositionX, unbreakableWall.CellPositionY] = unbreakableWall;

            _baseUnbreakableWallList.Add(unbreakableWall);
        }