public void SetCheckPlayLog(int playerID, string action) { PlayStageState ps = timer.CurrentState as PlayStageState; if (ps != null) { playLogWriter.SetCheckPlayLog(playerID, ps.RemainingTime, action); } }
public void SetMoveLog(int playerID, string kanjiParts, string answerfield, string action) { PlayStageState ps = timer.CurrentState as PlayStageState; if (ps != null) { playLogWriter.SetMoveLog(playerID, kanjiParts, answerfield, action, ps.RemainingTime); } }
public void SetActiveCheckPanel(bool isActive) { PlayStageState ps = timer.CurrentState as PlayStageState; if (ps != null) { ps.SetActiveCheckPanel(isActive); } }
public void RpcInterimResult(int collect) { PlayStageState ps = CurrentState as PlayStageState; if (ps != null) { ps.InterimResult(collect); } }
public void Judge(string action) { StopPlayersDrag(); PlayStageState ps = timer.CurrentState as PlayStageState; if (ps != null) { playLogWriter.SetJudgeLog(ps.RemainingTime, null, action); } }
public void RpcStageEnd(int collect) { PlayStageState ps = CurrentState as PlayStageState; int highScore = 0; if (ps != null) { highScore = ps.HighScore; } GoNextState(new StageResult(this, panelManager, collect, highScore)); }
public void Check() { int collect = stageManager.ShowCheckDetail(); PlayStageState ps = timer.CurrentState as PlayStageState; if (ps != null) { if (collect == stageManager.PerfectScore) { ps.Stop(PlayStageState.EndConditionType.check_perfect); } else if (ps.RemainingCheckNum <= 1) { ps.Stop(PlayStageState.EndConditionType.check_over); } else { timer.RpcInterimResult(collect); } } }