public void addSegment(Point frameSize, Point startFrame, Point endFrame, int millisecondsPerFrame) { segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame, millisecondsPerFrame); ++numSegments; }
public void setCurrentSegment(int which) { currentSegment = segments[which]; }