Exemple #1
0
        private bool canNextAppear()
        {
            if (mGroup.getSize() < mMaxEnemiesPerScreen)
            {
                if (checkNext() != null && checkNext().isReady())
                {
                    return(true);
                }
            }

            return(false);
        }
Exemple #2
0
        //hehehehehe
        private void solveHighlightBug()
        {
            if (mCurrentHighlightButton != null)
            {
                for (int x = 0; x < mGroupButtons.getSize(); x++)
                {
                    Button b = mGroupButtons.getGameObject(x);

                    if (b != mCurrentHighlightButton)
                    {
                        b.changeState(Button.sSTATE_NORMAL);
                    }
                }
            }
        }