Пример #1
0
 protected void SetAnimation(SpriteTransformation[] transformation)
 {
     SetAnimation(Orientation.Default, transformation);
 }
Пример #2
0
 protected void SetAnimation(Orientation reference, SpriteTransformation[] transformation)
 {
     ReferenceOrientation = reference;
     Animation = new PeriodicFunction<SpriteTransformation>(stage => transformation[stage], transformation.Length);
 }