Пример #1
0
        //-----------------------------------------------------------------------------
        // Game::Draw()
        //		This function is called once per frame
        //	    Use this for draw graphics to the screen.
        //      Only do rendering here
        //-----------------------------------------------------------------------------
        public override void Draw()
        {
            //-----------------------------------------------
            //sprites
            //SpriteBatchManager.renderBoxes = true;

            //draw all the sprites attached to sprite batches
            SpriteBatchManager.Draw();

            // Delete any objects here...
            DelayedObjectManager.Process();
        }
Пример #2
0
 //-----------------------------------------------------------------------------
 // Game::Draw()
 //		This function is called once per frame
 //	    Use this for draw graphics to the screen.
 //      Only do rendering here
 //-----------------------------------------------------------------------------
 public override void Draw()
 {
     SpriteBatchManager.Draw();
     FontManager.Draw();
 }
Пример #3
0
 public override void Draw()
 {
     // draw all objects
     SpriteBatchManager.Draw();
 }
Пример #4
0
 // Should be called during the Draw part of gameloop
 public override void Draw(GameManager pGameManager)
 {
     SpriteBatchManager.Draw();
 }