Esempio n. 1
0
 public virtual void RegisterAnimation(string name, SpriteAnimation_Base animation, string cousinAnimation, FireTime fireTime)
 {
     animation.FireTime = fireTime;
     if (!_Animations.ContainsKey(name) && _Animations.ContainsKey(cousinAnimation))
     {
         _Animations[cousinAnimation].AddSibling(animation);
         _Animations.Add(name, animation);
     }
 }
 public virtual void AddSibling(SpriteAnimation_Base sibling)
 {
     _SiblingAnimation.Add(sibling);
 }
Esempio n. 3
0
 public virtual void AddSibling(SpriteAnimation_Base sibling)
 {
     _SiblingAnimation.Add(sibling);
 }
Esempio n. 4
0
 public virtual void RegisterAnimation(string name, SpriteAnimation_Base animation)
 {
     if (!_Animations.ContainsKey(name))
         _Animations.Add(name, animation);
 }