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