virtual public bool process(string trigger_type, string para) { if (_curStep != null) { if (_curStep.process(trigger_type, para) == false) { _curStep.end(); _curStep = nextStep(); if (_curStep == null) { end(); return(false); } else { _curStep.begin(); return(true); } } else { return(true); } } _curStep = null; return(false); }
virtual public bool begin(string para) { //UIWindowManager.getInstance().hideOtherWindow(); _curStep = nextStep(); if (_curStep != null) { _curStep.begin(); } _isActive = true; return(true); }
public bool endCurStep() { if (_curStep != null) { //if (_curStep.update() == false) { _curStep.end(); _curStep = nextStep(); if (_curStep == null) { end(); } else { _curStep.begin(); } } } return(_isActive); }
virtual public bool update() { if (_curStep != null) { if (_curStep.update() == false) { if (_curStep != null)//clime { _curStep.end(); } _curStep = nextStep(); if (_curStep == null) { end(); } else { _curStep.begin(); } } } return(_isActive); }