Renamed Sprite object to Sheet. Also, made it not depend on images -- it is simply a helper for calculating frame offsets in some arbitrary rectangular grid. You give it some info, ask for a frame, and it tells you where to grab it.