Update: added xAnim for sprite animation