The reason animations do not work is because the animation state machine is tied explicitly with drawing the sprite, rather than the object being updated.