public static bool drawAnim(Graphics g, ref AnimPlayer p, int x, int y)
 {
     if (p.getAnimID() < 0)
     {
         return(false);
     }
     AnimationManager.drawAnimFrame(g, p.getAnimID(), p.getCurrAnimFrame(), x, y);
     return(true);
 }
    public static bool drawAnim(Graphics g, int animID, int x, int y)
    {
        AnimationManagerData animManData = AppEngine.getCanvas().getAnimManData();

        for (int index = 0; index < 48; ++index)
        {
            AnimPlayer animPlayer = animManData.m_animPlayerPool[index];
            if (animPlayer.getAnimID() == animID)
            {
                AnimationManager.drawAnimFrame(g, animID, animPlayer.getCurrAnimFrame(), x, y);
                return(true);
            }
        }
        return(false);
    }
 public static void drawAnim(Graphics g, AnimPlayer p, int x, int y)
 {
     AnimationManager.drawAnimFrame(g, p.getAnimID(), p.getCurrAnimFrame(), x, y);
 }