Example #1
0
        public override void GoIn()
        {
            _selectMode.Motion     = _selectMotion.Clone();
            _selectMode.IDelayTime = 0;
            _selectMode.DelayTime  = _selectDelayTime;

            /*_introFrame.Motion = _introMotion.Clone();
             * _introFrame.IDelayTime = 0;
             * _introFrame.DelayTime = _introDelayTime;*/

            _introFrames.Motion     = _introFrameMotion.Clone();
            _introFrames.IDelayTime = 0;
            _introFrames.DelayTime  = _introFrameDelayTime;

            _aboutGameButtonFrame.Motion     = _aboutMotion.Clone();
            _aboutGameButtonFrame.IDelayTime = 0;
            _aboutGameButtonFrame.DelayTime  = _aboutDelayTime;

            _programer1ButtonFrame.Motion     = _programer1Motion.Clone();
            _programer1ButtonFrame.IDelayTime = 0;
            _programer1ButtonFrame.DelayTime  = _programer1DelayTime;

            _programer2ButtonFrame.Motion     = _programer2Motion.Clone();
            _programer2ButtonFrame.IDelayTime = 0;
            _programer2ButtonFrame.DelayTime  = _programer2DelayTime;

            _exitButtonFrame.Motion     = _exitMotion.Clone();
            _exitButtonFrame.IDelayTime = 0;
            _exitButtonFrame.DelayTime  = _exitDelayTime;
        }
Example #2
0
        public override void  GoIn()
        {
            //Sau khi vào lại state phải set lại cái biến này.
            _indexOfNextState = -1;

            _menuFrame.Motion     = _menuFrameMotion.Clone();
            _menuFrame.IDelayTime = 0;
            _menuFrame.DelayTime  = _menuFrameDelayTimeGoIn;

            _newgameFrame.Motion     = _newgameFrameMotion.Clone();
            _newgameFrame.IDelayTime = 0;
            _newgameFrame.DelayTime  = _newgameDelayTimeGoIn;

            _loadgameFrame.Motion     = _loadgameFrameMotion.Clone();
            _loadgameFrame.IDelayTime = 0;
            _loadgameFrame.DelayTime  = _loadgameDelayTimeGoIn;

            _optionFrame.Motion     = _optionFrameMotion.Clone();
            _optionFrame.IDelayTime = 0;
            _optionFrame.DelayTime  = _optionDelayTimeGoIn;

            _helpFrame.Motion     = _helpFrameMotion.Clone();
            _helpFrame.IDelayTime = 0;
            _helpFrame.DelayTime  = _helpDelayTimeGoIn;

            _aboutFrame.Motion     = _aboutFrameMotion.Clone();
            _aboutFrame.IDelayTime = 0;
            _aboutFrame.DelayTime  = _aboutDelayTimeGoIn;

            _quitFrame.Motion     = _quitFrameMotion.Clone();
            _quitFrame.IDelayTime = 0;
            _quitFrame.DelayTime  = _quitDelayTimeGoIn;
        }