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