public NonDemoBarrierFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight, SpriteFont fntUnitAttack)
            : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
        {
            this.fntUnitAttack = fntUnitAttack;

            this.BarrierName = OtherFrame.SharedUnitStats.AttackerSquadResult.Barrier;
        }
        public NonDemoGetHitFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight, SpriteFont fntNonDemoDamage, int Damage, AnimatedSprite sprExplosion, FMODSound sndNonDemoAttack)
            : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
        {
            this.fntNonDemoDamage = fntNonDemoDamage;
            this.Damage           = Damage;
            this.sprExplosion     = sprExplosion;
            this.sndNonDemoAttack = sndNonDemoAttack;

            DisplayedDamage = Damage.ToString();
        }
 public NonDemoSwitchBackWithSupportFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
 }
 public NonDemoGetMissedFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight, Texture2D sprNonDemoMiss)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
     this.sprNonDemoMiss = sprNonDemoMiss;
 }
Exemple #5
0
 public NonDemoSwitchWithLeaderHoldFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
 }
Exemple #6
0
 public NonDemoAttackFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
 }
Exemple #7
0
 public NonDemoGetShootDownFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight, SpriteFont fntUnitAttack)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
     this.fntUnitAttack = fntUnitAttack;
 }
 public NonDemoGetCriticalHitFrame(NonDemoBattleUnitFrame OtherFrame, bool IsRight, Texture2D sprNonDemoCritical)
     : base(OtherFrame.Map, OtherFrame.SharedUnitStats, OtherFrame.PositionX, OtherFrame.PositionY, IsRight)
 {
     this.sprNonDemoCritical = sprNonDemoCritical;
 }