Пример #1
0
 private static void CheckIfCurrentCellPositionIsSnakeHead(Player player)
 {
     if (Snakes.CheckIfCurrentCellPostionIsSnakeHead(player.GetCurrentCellPosition()))
     {
         player.SetCurrentCellPosition(Snakes.GetSnakeTailForSnakeHead(player.GetCurrentCellPosition()));
     }
 }