JavagameXYZ sprite animation commit #2 - cleaned up implementation as well