private void checkIfDone(Player player) { if (player.IsDone()) { gameOver = true; gui.ShowEndScreen(player); } }