示例#1
0
 public void UseColorsOf(SpriteSet other, double time, int offset = 0, int count = -1)
 {
     for (int i = offset; i < (count < 0 ? Sprites.Count() : count + offset); i++)
     {
         sprites[i].UseColorOf(other.Get(i), time);
     }
 }
示例#2
0
 public void UseScaleVecsOf(SpriteSet other, int offset = 0, int count = -1)
 {
     for (int i = offset; i < (count < 0 ? Sprites.Count() : count + offset); i++)
     {
         sprites[i].UseScaleVecOf(other.Get(i));
     }
 }
示例#3
0
 public void UseRotationsOf(SpriteSet other, int offset = 0, int count = -1)
 {
     for (int i = offset; i < (count < 0 ? Sprites.Count() : count + offset); i++)
     {
         sprites[i].UseRotationOf(other.Get(1));
     }
 }
示例#4
0
 public void UseScalesOf(SpriteSet other, double time, bool useYScale = false, int offset = 0, int count = -1)
 {
     for (int i = offset; i < (count < 0 ? Sprites.Count() : count + offset); i++)
     {
         sprites[i].UseScaleOf(other.Get(i), time, useYScale);
     }
 }