Example #1
0
        public override void drawSprite(SpriteBatch spriteBatch)
        {
            background.drawSprite(spriteBatch);
            foreach (Row row in rows)
            {
                row.drawSprite(spriteBatch);
            }
            foreach (StackPlaceholder holder in oblivionHolder)
            {
                holder.drawSprite(spriteBatch);
            }
            foreach (StackPlaceholder holder in deckHolder)
            {
                holder.drawSprite(spriteBatch);
            }
            foreach (PortraitWidget widget in portraitWidgets)
            {
                widget.drawSprite(spriteBatch);
            }
            unanimousToken.drawSprite(spriteBatch);
            elfToken.drawSprite(spriteBatch);
            orcToken.drawSprite(spriteBatch);
            humanToken.drawSprite(spriteBatch);

            foreach (LifeTotal total in lifeTotal)
            {
                total.drawSprite(spriteBatch);
            }
            button.drawSprite(spriteBatch);
            friendlySide.boardFunc.drawSprite(spriteBatch);
            //moveHistory.drawSprite(spriteBatch);
        }
Example #2
0
        public override void drawSprite(SpriteBatch spriteBatch)
        {
            loadScreenImage.drawSprite(spriteBatch);

            foreach (Button button in buttons)
            {
                button.drawSprite(spriteBatch);
            }
        }
Example #3
0
 public override void drawSprite(SpriteBatch spriteBatch)
 {
     foreach (FunctionalRow row in enemySide.Rows)
     {
         if (!row.revealed)
         {
             rowFog.setPos(row.getPosition());
             rowFog.drawSprite(spriteBatch);
         }
     }
     cardDrawer.drawSprite(spriteBatch, this);
     cardViewer.drawSprite(spriteBatch);
     BOARDMESSAGE.drawSprite(spriteBatch);
     historyButton.drawSprite(spriteBatch);
     enemyHistoryWindow.drawSprite(spriteBatch);
     cardFightDrawer.drawSprite(spriteBatch);
     endGamePopup.drawSprite(spriteBatch);
 }