コード例 #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.cs プロジェクト: ccaunca/Projects
 //-----------------------------------------------------------------------------
 // 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();
 }