コード例 #1
0
 public CombatPhase(PhaseManager phaseManager, PlayerUI playerUI, bool skipCombat, float countdownTime, FinishCountdownEvent finishCountdownEvent) : base(phaseManager)
 {
     _playerUI             = playerUI;
     _defeatScreen         = phaseManager.EndGameScreen;
     _skipCombat           = skipCombat;
     _countdownTime        = countdownTime;
     _finishCountdownEvent = finishCountdownEvent;
 }
コード例 #2
0
ファイル: TaskRuntimeTests.cs プロジェクト: dkm2110/veyor
            public byte[] Call(byte[] memento)
            {
                try
                {
                    _action.Value();
                }
                finally
                {
                    FinishCountdownEvent.Signal();
                }

                return(null);
            }