Exemple #1
0
 static SnakeCell ReturnCell(int lin, int col, SnakeMap map)
 {
     return(map.MapCells.FirstOrDefault(cl => cl.Colunm == col && cl.Line == lin));
 }
Exemple #2
0
 public SnakeGame(SnakeMap snakeMap)
 {
     _snakeMap = snakeMap;
 }
Exemple #3
0
 public SnakeCell(SnakeMap map)
 {
     _snakeMap = map;
 }