public void Start(ConsoleKey key, World world, UI ui) { if (key == ConsoleKey.Enter && !started) { Console.Clear(); world.Start(); started = true; ui.Instruction(); } }
public void PlayAgain(ConsoleKey key, World world, Platform platform, Player player) { if (key == ConsoleKey.Enter) { Console.Clear(); world.Start(); platform.emptyPlatform(); player.score = 0; ifLose = false; alreadyLose = false; } }