public override void AKey() { switch (thisState) { case ZoomState.start: ZoomIn(); break; case ZoomState.totemZoomedIn: switch (thisButton) { case (MenuButton.none): break; case (MenuButton.startGame): thisButton = MenuButton.none; btnNewGame.Click(); break; case (MenuButton.resumeGame): thisButton = MenuButton.none; btnResume.Click(); break; } break; case ZoomState.scrolledDown: switch (thisButton) { case (MenuButton.resumeGame): thisButton = MenuButton.none; btnResume.Click(); break; case (MenuButton.options): thisButton = MenuButton.none; btnOptions.Click(); break; case (MenuButton.quit): thisButton = MenuButton.none; btnQuit.Click(); break; } break; } }