Exemplo n.º 1
0
        public override void Draw(SpriteBatch sb)
        {
            // Draw Buttons
            foreach (UIButton b in m_Buttons)
            {
                b.Draw(sb);
            }

            // Draw currency
            m_Coins.Draw(sb);
        }
Exemplo n.º 2
0
        public override void Draw(Renderer sb)
        {
            // Draw Buttons
            foreach (UIButton b in m_Buttons)
            {
                b.Draw(sb);
            }

            // Draw currency
            m_Coins.Draw(sb);
        }
Exemplo n.º 3
0
        public override void Draw(Renderer spriteBatch)
        {
            if (m_CoinsDialog != null)
            {
                m_CoinsDialog.Draw(spriteBatch);
                return;
            }
            if (m_VipDialog != null)
            {
                m_VipDialog.Draw(spriteBatch);
                return;
            }

            foreach (Tower t in m_Towers)
            {
                t.Draw(spriteBatch);
            }

            m_LevelLabel.Draw(spriteBatch);
            m_Level.Draw(spriteBatch);
            m_ExpBar.Draw(spriteBatch);
            m_ResetTutorial.Draw(spriteBatch);
            m_Options.Draw(spriteBatch);
            m_BuyCoins.Draw(spriteBatch);
            m_Exit.Draw(spriteBatch);
            m_SignOut.Draw(spriteBatch);
            m_Coins.Draw(spriteBatch);
            m_VIP.Draw(spriteBatch);


            if (m_FloorSelect != null)
            {
                m_FloorSelect.Draw(spriteBatch);
            }

            if (m_SoundDialog != null)
            {
                m_SoundDialog.Draw(spriteBatch);
            }
            if (m_OptionsDialog != null)
            {
                m_OptionsDialog.Draw(spriteBatch);
            }

            if (m_MessageBox != null)
            {
                m_MessageBox.Draw(spriteBatch);
            }
        }