Beispiel #1
0
 public void CreateGrid(List<string> boardInput, BoardLayers boardKind)
 {
     foreach (string t in boardInput)
     {
         List<Tile> sublist = t.Select(c => GetTileKind(c.ToString())).ToList();
         tileLayer.Add(sublist);
     }
 }
Beispiel #2
0
 public void CreateGrid(List <string> boardInput, BoardLayers boardKind)
 {
     foreach (string t in boardInput)
     {
         List <Tile> sublist = t.Select(c => GetTileKind(c.ToString())).ToList();
         tileLayer.Add(sublist);
     }
 }
Beispiel #3
0
 public GameObjects(List<string> boardInput, BoardLayers boardKind)
     : base(boardInput, boardKind)
 {
 }
Beispiel #4
0
 public Board(List<string> boardInput, BoardLayers boardKind)
     : base(boardInput, boardKind)
 {
 }
Beispiel #5
0
 public Board(List <string> boardInput, BoardLayers boardKind) : base(boardInput, boardKind)
 {
 }
Beispiel #6
0
 public GameLayer(List<string> boardInput, BoardLayers boardKind)
 {
     tileLayer = new List<List<Tile>>();
     CreateGrid(boardInput, boardKind);
 }
Beispiel #7
0
 public GameObjects(List <string> boardInput, BoardLayers boardKind) : base(boardInput, boardKind)
 {
 }
Beispiel #8
0
 public GameLayer(List <string> boardInput, BoardLayers boardKind)
 {
     tileLayer = new List <List <Tile> >();
     CreateGrid(boardInput, boardKind);
 }