Exemple #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);
     }
 }
Exemple #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));
     }
 }
Exemple #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));
     }
 }
Exemple #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);
     }
 }