示例#1
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            //load all content in the contentlibrary class
            ContentLibrary contentlibrary = new ContentLibrary(Content);
        }
示例#2
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            //load all content in the contentlibrary class
            ContentLibrary contentlibrary = new ContentLibrary(Content);

            /*
             * Set the gameMode, in which Actors using content is creadted
             * Init is called in this func at last, which adds all actors to actorList that should be shown when playing
             */
            gameMode = GameMode.setGameMode(GameMode.gameModes.PLAYING);
        }