public PlayStageState (Timer timer, PanelManager panelManager, LocalManager localManager, float timeLimit, int LimitOfCheck) : base(timer) { this.panelManager = panelManager; this.localManager = localManager; this.timer = timer; this.timeLimit = timeLimit; RemainingTime = timeLimit; HighScore = 0; RemainingCheckNum = LimitOfCheck; EndCondition = EndConditionType.time_over; }
public void Stop(EndConditionType endCondition) { EndCondition = endCondition; Stop(); }