コード例 #1
0
ファイル: Game1.cs プロジェクト: k1nger/ist402-team6
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);

            _GameMenu = new Menu(this.Content);
            _Play = new Play(this.Content);
            _Track1 = new Track1(this.Content, _Graphics);
            _OptionsMenu = new MenuOptions(this.Content);
            _CreditsMenu = new MenuCredits(this.Content);
            // TODO: use this.Content to load your game content here
        }