Ejemplo n.º 1
0
    private IEnumerator Timer(ThrowBombSteps step)
    {
        yield return(new WaitForSeconds(timeBeforeThrow));

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