Beispiel #1
0
 /// <summary>
 /// New instance for death animation.
 /// </summary>
 public BattleAnimation(BattleSystem bs, Mon mon, float anim_duration)
 {
     this.mon           = mon;
     this.anim_duration = anim_duration;
 }
Beispiel #2
0
        public int total_damage; // damage before hp reduction

        /// <summary>
        /// New instance for healthbar animation.
        /// </summary>
        public BattleAnimation(BattleSystem bs, Mon mon, int total_damage)
        {
            this.mon           = mon;
            this.total_damage  = total_damage;
            this.anim_duration = 4f;
        }