Beispiel #1
0
 public MainMenuControlViewModel()
 {
     model = new MainMenuControlModel(this);
     singlePlayerCommand = new ButtonICommand(model.SinglePlayerOption);
     setNameCommand      = new ButtonICommand(model.MultiplayerNameSetter);
     multiplayerCommand  = new ButtonICommand(model.MultiplayerOption);
     settingsCommand     = new ButtonICommand(model.SettingsOption);
 }
 public SinglePlayerControlViewModel()
 {
     model           = new SinglePlayerControlModel();
     mainMenuCommand = new ButtonICommand(model.SinglePlayerOption);
     getHintCommand  = new ButtonICommand(model.GetHint);
 }
Beispiel #3
0
 public MutliplayerControlViewModel()
 {
     model           = new MultiplayerControlModel();
     mainMenuCommand = new ButtonICommand(model.SinglePlayerOption);
     getHintCommand  = new ButtonICommand(model.getHintOnMaze);
 }