Ejemplo n.º 1
0
 public void addSegment(Point frameSize, Point startFrame, Point endFrame,
                        int millisecondsPerFrame)
 {
     segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame,
                                                    millisecondsPerFrame);
     ++numSegments;
 }
Ejemplo n.º 2
0
 public void addSegment(Point frameSize, Point startFrame, Point endFrame,
     int millisecondsPerFrame)
 {
     segments[numSegments] = new SpriteSheetSegment(frameSize, startFrame, endFrame, 
         millisecondsPerFrame);
     ++numSegments;
 }
Ejemplo 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);
 }
Ejemplo n.º 4
0
 public void setCurrentSegment(int which)
 {
     currentSegment = segments[which];
 }
Ejemplo n.º 5
0
 public void setCurrentSegment(int which)
 {
     System.Diagnostics.Debug.WriteLine("segment number " + which);
     currentSegment = segments[which];
 }
Ejemplo n.º 6
0
 public void setCurrentSegment(int which)
 {
     currentSegment = segments[which];
 }