/// <summary> /// Loads the content used /// </summary> public new void LoadContent() { _startScreen = new StartScreen(Game) { Visible = false }; DrawableComponents.Add(_startScreen); _logoFlash = new LogoFlash(Game) { Visible = false }; DrawableComponents.Add(_logoFlash); _startButton = new StartButton(Game) { Visible = false }; DrawableComponents.Add(_startButton); _infoScreen = new InfoScreen(Game) { Visible = false }; DrawableComponents.Add(_infoScreen); _pikachu = new Pikachu(Game) { Visible = false }; DrawableComponents.Add(_pikachu); _nextButton = new NextButton(Game) { Visible = false }; DrawableComponents.Add(_nextButton); base.LoadContent(); }
/// <summary> /// controls the intro /// </summary> /// <param name="game">provides an instance of game</param> public IntroController(Game game) : base(game) { LoadContent(); _infoSn = new InfoScreen(game); }