Exemplo n.º 1
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            TileDrawer.InitAssets(this);
            PlayerDrawer.InitAssets(this);
            EnemyDrawer.LoadAssets(this);

            screenPool = new ScreenPool(this);

            this.musicPlayer = new MusicPlayer(this);
            SoundPlayer.InitAssets(this);

            Animator.InitAssets(this);
            InfoDrawer.LoadAssets(this);
        }