public LevelCompleteView( ContentManager content, SpriteBatch spriteBatch, LevelCompleteViewModel viewModel, LevelView levelView, IInputManager input) { this.content = content; this.levelView = levelView; this.viewModel = viewModel; this.spriteBatch = spriteBatch; this.nextLevelButton = new ButtonView(input, "Images/LevelComplete/NextLevelButton", new Vector2(328, 342)); this.nextLevelButton.Command = this.viewModel.NextLevelCommand; }
public GameOverView( ContentManager content, GameOverViewModel viewModel, SpriteBatch spriteBatch, LevelView levelView, IInputManager input) { this.content = content; this.viewModel = viewModel; this.spriteBatch = spriteBatch; this.levelView = levelView; this.input = input; this.restartLevelButton = new ButtonView(input, "Images/GameOver/RestartLevelButton", new Vector2(328, 342)); this.restartLevelButton.Command = this.viewModel.NewGameCommand; }
public PlayingView( ContentManager content, SpriteBatch spriteBatch, PlayingViewModel viewModel, LevelView levelView, DebugViewXNA debugView, SoundManagerView soundManagerView) { this.content = content; this.soundManagerView = soundManagerView; this.spriteBatch = spriteBatch; this.viewModel = viewModel; this.levelView = levelView; this.debugView = debugView; }
public TitleView( ContentManager content, TitleViewModel viewModel, SpriteBatch spriteBatch, LevelView levelView, IInputManager input) { this.content = content; this.viewModel = viewModel; this.spriteBatch = spriteBatch; this.levelView = levelView; this.input = input; this.creditsButton = new ButtonView(input, "Images/Title/CreditsButton", new Vector2(388, 273)); this.creditsButton.Command = this.viewModel.ShowCreditsCommand; this.playButton = new ButtonView(input, "Images/Title/PlayButton", new Vector2(406, 344)); this.playButton.Command = this.viewModel.StartGameCommand; }