Exemple #1
0
 public void Restart()
 {
     CreatePlayer();
     CreateField();
     tickCounter = 0;
     berryList   = new SnakeBerry(fieldCountX, fieldCountY);
     berryList.SpawnBerry(player, MergeSnakes());
     gameOver = false;
 }