added frames and speed in constructor params for h2d.Anim