示例#1
0
        private void OnTouchUp(CCTouch arg1, CCEvent arg2)
        {
            if (StartGameButton.IsPointInBounds(arg1) && StartGameButton.IsPressed)
            {
                StartGameButton.OnTouchUp();
            }
            if (HelpButton.IsPointInBounds(arg1) && HelpButton.IsPressed)
            {
                HelpButton.OnTouchUp();
            }

            /*if (OptionsButton.IsPointInBounds(arg1) && OptionsButton.IsPressed)
             *  OptionsButton.OnTouchUp();*/
        }