Exemple #1
0
    private IEnumerator Timer(ThrowBombSteps step)
    {
        yield return(new WaitForSeconds(timeBeforeThrow));

        SetStep(step);
    }
Exemple #2
0
 private bool CheckStep(ThrowBombSteps step)
 {
     return((currentStep & step) == step);
 }
Exemple #3
0
 private void SetStep(ThrowBombSteps step)
 {
     currentStep |= step;
 }
Exemple #4
0
 public void Reset()
 {
     currentStep = ThrowBombSteps.None;
 }