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); }
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); }
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); }
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); }
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); }
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); }
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); }
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); }