change setSprite to setAnim, refactor Mario demo