Extended the Sprite API
Added animation code; StatBar not updating