private void KeyDownMessageRecieved(KeyDownMessage obj) { if (obj.Key == Key.Escape) { if (_world.Status == GameStatus.Running) Pause(); else if (_world.Status == GameStatus.Paused) Resume(); } }
private void KeyDownMessageRecieved(KeyDownMessage obj) { if (Status == GameStatus.Running && obj.Key == Key.Space) Bird.QueueJump(0.5); }