Beispiel #1
0
 private void DetermineShotState()
 {
     if (shotState != null)
     {
         if (shotState.GetCount() > shotState.GetFinishTime())
         {
             shotState = null;
         }
         else
         {
             shotState.IncreaseTime(1);
         }
     }
 }
Beispiel #2
0
 public void ThreeShotPowerUp()
 {
     // Debug.Log("THREE SHOT");
     shotState = new ThreeShotState(gameObject, bullet);
 }