public static GameProcessTriggerEvent GetTriggerEvent(float ratio, Action action, bool needPauseProcess, Func <bool> isEnd) { GameProcessTriggerEvent e = new GameProcessTriggerEvent(); e.AddEvent(ratio, action, needPauseProcess, isEnd); return(e); }
public List <GameProcessTriggerEvent> GetTriggerEvents() { var list = new List <GameProcessTriggerEvent>(); GameProcessTriggerEvent e = new GameProcessTriggerEvent(); e.AddEvent(1, Start, false, JudgeEnd); list.Add(e); return(list); }