/* * ******************************* * Constructors * ******************************* */ protected BaseGame(GameMain gameMain) { mGameMain = gameMain; mContent = gameMain.Content; mHelperScreen = gameMain.HelperScreen; mHelperBackgroundTexture = new HelperBackgroundTexture(gameMain.Content); mHelperMusic = new HelperMusic(gameMain.Content); setCommonUi(); }
/* * ******************************* * Game Logic * ******************************* */ protected override void Initialize() { mHelperScreen = new HelperScreen(this); mHelperScreen.ChangeScreen(new ScreenTitle(this)); mSpriteBatch = new SpriteBatch(mGraphicsDeviceManager.GraphicsDevice); base.Initialize(); }