Exemplo n.º 1
0
 public void addSegment(Point frameSize, Point startFrame, Point endFrame,
                        int millisecondsPerFrame)
 {
     segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame,
                                                    millisecondsPerFrame);
     ++numSegments;
 }
Exemplo n.º 2
0
 public void addSegment(Point frameSize, Point startFrame, Point endFrame,
     int millisecondsPerFrame)
 {
     segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame, 
         millisecondsPerFrame);
     ++numSegments;
 }
Exemplo n.º 3
0
 public void addSegment(Point frameSize, Point startFrame, Point endFrame,
     int millisecondsPerFrame)
 {
     segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame, 
         millisecondsPerFrame);
     ++numSegments;
     System.Diagnostics.Debug.WriteLine("number of segments is " + numSegments);
 }
Exemplo n.º 4
0
 public void setCurrentSegment(int which)
 {
     currentSegment = segments[which];
 }
Exemplo n.º 5
0
 public void setCurrentSegment(int which)
 {
     System.Diagnostics.Debug.WriteLine("segment number " + which);
     currentSegment = segments[which];
 }
Exemplo n.º 6
0
 public void setCurrentSegment(int which)
 {
     currentSegment = segments[which];
 }