public void Draw(SpriteBatch batch)
 {
     if (current.Equals(idle))
     {
         current.SetFrame(idleFrame);
     }
     current.Draw(batch);
 }
예제 #2
0
 public override void Draw(SpriteBatch batch)
 {
     if (anim.Count() > 0)
     {
         anim.Draw(batch);
     }
 }