예제 #1
0
        private void InitSouthWall()
        {
            var wallPos = new List <Position>();

            for (var x = 0; x < Width; x++)
            {
                wallPos.Add(Floor[x, Height - 1].Position.S);
            }
            SouthWall = new WallSet(wallPos);
        }
예제 #2
0
        private void InitWestWall()
        {
            var wallPos = new List <Position>();

            for (var y = 0; y < Height; y++)
            {
                wallPos.Add(Floor[0, y].Position.W);
            }
            WestWall = new WallSet(wallPos);
        }
예제 #3
0
        private void InitNorthWall()
        {
            var wallPos = new List <Position>();

            for (var x = 0; x < Width; x++)
            {
                wallPos.Add(Floor[x, 0].Position.N);
            }
            NorthWall = new WallSet(wallPos);
        }
예제 #4
0
        private void InitEastWall()
        {
            var wallPos = new List <Position>();

            for (var y = 0; y < Height; y++)
            {
                wallPos.Add(Floor[Width - 1, y].Position.E);
            }
            EastWall = new WallSet(wallPos);
        }
예제 #5
0
 private void InitEastWall()
 {
     var wallPos = new List<Position>();
     for (var y = 0; y < Height; y++)
     {
         wallPos.Add(Floor[Width - 1, y].Position.E);
     }
     EastWall = new WallSet(wallPos);
 }
예제 #6
0
 private void InitWestWall()
 {
     var wallPos = new List<Position>();
     for (var y = 0; y < Height; y++)
     {
         wallPos.Add(Floor[0, y].Position.W);
     }
     WestWall = new WallSet(wallPos);
 }
예제 #7
0
 private void InitSouthWall()
 {
     var wallPos = new List<Position>();
     for (var x = 0; x < Width; x++)
     {
         wallPos.Add(Floor[x, Height - 1].Position.S);
     }
     SouthWall = new WallSet(wallPos);
 }
예제 #8
0
 private void InitNorthWall()
 {
     var wallPos = new List<Position>();
     for (var x = 0; x < Width; x++)
     {
         wallPos.Add(Floor[x, 0].Position.N);
     }
     NorthWall = new WallSet(wallPos);
 }