Exemple #1
0
        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
            if (Game.CurrentScene != this)
            {
                return;
            }

            m_ButtonPanel.SetCoins(Game.TheGameInfo.HardCurrency);
            if (m_Hint != null)
            {
                if (m_Hint.ShouldHide(m_Puzzle))
                {
                    m_Hint = null;
                }
            }

            if (m_Puzzle.IsCompleted())
            {
                DoEndScreenUpdate(gameTime);
            }

            if (m_CoinsDialog != null)
            {
                m_CoinsDialog.Update(gameTime);
            }
        }
Exemple #2
0
        public override void Update(double gameTime)
        {
            base.Update(gameTime);

            if (m_FloorSelect != null)
            {
                m_FloorSelect.Update(gameTime);
            }
            if (m_OptionsDialog != null)
            {
                m_OptionsDialog.Update(gameTime);
            }
            if (m_CoinsDialog != null)
            {
                m_CoinsDialog.Update(gameTime);
            }
        }