Sprite class from Project Walnut