public TitleViewModel(IConductorViewModel conductor, LevelFactory levelFactory) { this.conductor = conductor; this.levelFactory = levelFactory; this.StartGameCommand = new RelayCommand(this.StartGame); this.ShowCreditsCommand = new RelayCommand(this.ShowCredits); }
public GameOverViewModel( Level level, IConductorViewModel conductor) { this.level = level; this.conductor = conductor; this.NewGameCommand = new RelayCommand(this.StartNewGame); }
public LevelCompleteViewModel( Level level, LevelFactory levelFactory, IConductorViewModel conductor) { this.level = level; this.levelFactory = levelFactory; this.conductor = conductor; this.NextLevelCommand = new RelayCommand(this.StartNewGame); }
public ConductorView( IConductorViewModel viewModel, IEnumerable<IScreenView> views) { this.viewModel = viewModel; this.views = views; this.activeViews = new Stack<IScreenView>(); this.viewModel.PushViewModel += this.OnViewModelPushed; this.viewModel.PopViewModel += this.OnViewModelPopped; this.viewModel.SetTopViewModel += this.OnViewModelSetTop; }
public PlayingViewModel( LevelFactory levelFactory, Level level, ObservableCollection<IDoodad> doodads, IConductorViewModel conductor) { this.currentLevel = 1; this.levelFactory = levelFactory; this.level = level; this.doodads = doodads; this.conductor = conductor; }
public CreditsViewModel(IConductorViewModel conductor) { this.conductor = conductor; }