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