public void CreateAnimation(string AnimationName, DeathmatchMap Map, Squad ActiveSquad, Squad EnemySquad, Attack ActiveAttack, SquadBattleResult BattleResult, AnimationScreen.AnimationUnitStats UnitStats, AnimationBackground ActiveTerrain, string ExtraText, bool IsLeftAttacking) { AnimationScreen NewAnimationScreen = new AnimationScreen(AnimationName, Map, ActiveSquad, EnemySquad, ActiveAttack, BattleResult, UnitStats, ActiveTerrain, ExtraText, IsLeftAttacking); ListNextAnimationScreen.Add(NewAnimationScreen); }
private UITimeline(AnimationScreen Owner, string Name) : base(TimelineType, Name) { this.Owner = Owner; this.Name = Name; Origin = new Point(0, 0); }
public UITimeline(AnimationScreen Owner, ContentManager Content) : this(Owner, "Deathmatch UI") { fntFinlanderFont = Content.Load <SpriteFont>("Fonts/Finlander Font"); sprBarExtraLargeBackground = Content.Load <Texture2D>("Battle/Bars/Extra Long Bar"); sprBarExtraLargeEN = Content.Load <Texture2D>("Battle/Bars/Extra Long Energy"); sprBarExtraLargeHP = Content.Load <Texture2D>("Battle/Bars/Extra Long Health"); sprInfinity = Content.Load <Texture2D>("Battle/Infinity"); }
private DamageTimeline(AnimationScreen Owner, string Name, SpriteFont fntDamage) : base(TimelineType, Name) { this.Owner = Owner; this.Name = Name; this.fntDamage = fntDamage; Origin = new Point(0, 0); }
public void CreateAnimation(AnimationInfo Info, DeathmatchMap Map, Squad ActiveSquad, Squad EnemySquad, Attack ActiveAttack, SquadBattleResult BattleResult, AnimationScreen.AnimationUnitStats UnitStats, AnimationBackground ActiveTerrain, string ExtraText, bool IsLeftAttacking) { AnimationScreen NewAnimationScreen = new AnimationScreen(Info.AnimationName, Map, ActiveSquad, EnemySquad, ActiveAttack, BattleResult, UnitStats, ActiveTerrain, ExtraText, IsLeftAttacking); NewAnimationScreen.Load(); NewAnimationScreen.UpdateKeyFrame(0); Dictionary <int, Timeline> DicExtraTimeline = Info.GetExtraTimelines(NewAnimationScreen); foreach (KeyValuePair <int, Timeline> ActiveExtraTimeline in DicExtraTimeline) { NewAnimationScreen.ListAnimationLayer[0].AddTimelineEvent(ActiveExtraTimeline.Key, ActiveExtraTimeline.Value); } ListNextAnimationScreen.Add(NewAnimationScreen); }
public DamageTimeline(AnimationScreen Owner, ContentManager Content) : this(Owner, "New Damage", Content.Load <SpriteFont>("Fonts/Battle Damage")) { }
public ENTimeline(AnimationScreen Owner, ContentManager Content) : this(Owner, "New EN Cost", Content.Load <SpriteFont>("Fonts/Finlander Font")) { }