private static AnimationPack LoadPortal() { var animations = new AnimationPack(Spell.ImagePath + "portal"); animations.GetAnimation(AnimationType.Stand).AnimLength = 1300; return(animations); }
private static AnimationPack LoadImpact() { var animations = new AnimationPack(Spell.ImagePath + "impact", 70); animations.GetAnimation(AnimationType.Death).AnimLength = 500; return(animations); }
private static AnimationPack LoadPinkKnight() { var animations = new AnimationPack(PlayerCharacter.ImagePath + "pink knight"); animations.GetAnimation(AnimationType.Run).AnimLength = 600; return(animations); }
private static AnimationPack LoadPinkKnightTomb() { var animations = new AnimationPack(PlayerCharacter.ImagePath + "pink tomb"); animations.GetAnimation(AnimationType.Birth).AnimLength = 1800; return(animations); }
private static AnimationPack LoadOrangeCultist() { var animations = new AnimationPack(Mob.ImagePath + "orange cultist"); animations.GetAnimation(AnimationType.Death).AnimLength = 1500; return(animations); }
private static AnimationPack LoadBomb() { var animations = new AnimationPack(Spell.ImagePath + "bomb", 16); animations.GetAnimation(AnimationType.Stand).AnimLength = 500; animations.GetAnimation(AnimationType.Death).AnimLength = 600; return(animations); }
private static AnimationPack LoadHolyball() { var animations = new AnimationPack(Spell.ImagePath + "holyball"); animations.GetAnimation(AnimationType.Birth).AnimLength = 300; animations.GetAnimation(AnimationType.Stand).AnimLength = 300; return(animations); }
private static AnimationPack LoadCthulhuVoidball() { var animations = new AnimationPack(Spell.ImagePath + "voidball"); animations.GetAnimation(AnimationType.Stand).AnimLength = 300; animations.GetAnimation(AnimationType.Death).AnimLength = 300; return(animations); }
public static Animation GetBlendAnimationByIndex(AnimationPack animationPack, int index) { if (animationPack == null || animationPack.BlendAnimations == null || index > animationPack.BlendAnimations.Count) { return(null); } return(animationPack.BlendAnimations[index]); }
private void CompareAnimationPackage(AnimationPack a, AnimationPack b) { if (a == null || b == null) { Assert.IsTrue(a == null ? (b == null) : (b != null)); return; } Assert.AreEqual(a.ResourceType, b.ResourceType); Assert.AreEqual(a.Version, b.Version); throw new NotImplementedException(); }
public static Animation[] GetBlendAnimations(AnimationPack ap) { if (ap == null) { return(Array.Empty <Animation>()); } if (ap.BlendAnimations == null) { return(Array.Empty <Animation>()); } return(ap.BlendAnimations.ToArray()); }
private static AnimationPack LoadArrow() { var animations = new AnimationPack(Spell.ImagePath + "arrow"); return(animations); }
private static AnimationPack LoadCthulhuMeteor() { var animations = new AnimationPack(Spell.ImagePath + "meteor"); return(animations); }
private static AnimationPack LoadCthulhuLightning2() { var animations = new AnimationPack(Spell.ImagePath + "lightning B", 16); return(animations); }
private static AnimationPack LoadCthulhuGhost() { var animations = new AnimationPack(Mob.ImagePath + "cthulhu ghost"); return(animations); }