PlaySectionViewModel.cs 551 B

1234567891011121314151617181920212223
  1. using HelloItQuantum.Views;
  2. namespace HelloItQuantum.ViewModels
  3. {
  4. public class PlaySectionViewModel : MainWindowViewModel
  5. {
  6. public void GoCommands()
  7. {
  8. HotkeysVM = new HotkeysViewModel();
  9. PageSwitch.View = new HotkeysView();
  10. }
  11. public void GoLabyrinth()
  12. {
  13. PageSwitch.View = new LabyrinthView();
  14. }
  15. public void GoCreateFriend() => PageSwitch.View = new GameCreateFriendView();
  16. public void GoBack() => PageSwitch.View = new HomeView();
  17. }
  18. }