Beispiel #1
0
 private void CheckState()
 {
     if (currentLife < lifeAmount * 0.33f)
     {
         bossState.StateChange(2);
     }
     else if (currentLife < lifeAmount * 0.66f)
     {
         bossState.StateChange(1);
     }
 }