Example #1
0
        protected override void AddPhases()
        {
            base.AddPhases();

            HealthBar.AddPhase(0.33f);
            HealthBar.AddPhase(0.66f);
        }
Example #2
0
        protected override void AddPhases()
        {
            base.AddPhases();

            for (var i = 1; i < Hp; i++)
            {
                HealthBar.AddPhase(i / (float)Hp);
            }
        }
Example #3
0
 protected override void AddPhases()
 {
     HealthBar.AddPhase(0.5f);
 }