bitmap animation class (based on spritesheets)