Exemplo n.º 1
0
 public AnimationPlayer GetAnimationPlayer(DwarfSprites.LayerStack stack, String Anim = "IdleFORWARD")
 {
     foreach (var animation in Library.LoadNewLayeredAnimationFormat(ContentPaths.dwarf_animations))
     {
         if (animation.Key == Anim)
         {
             return(new AnimationPlayer(stack.ProxyAnimation(animation.Value)));
         }
     }
     return(null);
 }
Exemplo n.º 2
0
 public DwarfAnimationProxy(LayerStack Owner)
 {
     this.Owner = Owner;
 }