Exemple #1
0
 public override void DisposingViewModel(uFrame.MVVM.ViewModel viewModel)
 {
     base.DisposingViewModel(viewModel);
     GameViewModelManager.Remove(viewModel);
 }
Exemple #2
0
 public virtual void InitializeGame(GameViewModel viewModel)
 {
     // This is called when a GameViewModel is created
     viewModel.AddCube.Action = this.AddCubeHandler;
     GameViewModelManager.Add(viewModel);
 }