Пример #1
0
 public void Draw(Animation2D animation, Vector2 position, Color color, float rotation,
                  Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 => Draw(animation.Texture, position, animation.GetFrame(), color, rotation, origin, scale, effects, layerDepth);
Пример #2
0
 public void Draw(Animation2D animation, Vector2 position, Color color)
 => Draw(animation.Texture, position, animation.GetFrame(), color);
Пример #3
0
 public void Draw(Animation2D animation, Rectangle destinationRectangle, Color color,
                  float rotation, Vector2 origin, SpriteEffects effects, float layerDepth)
 => Draw(animation.Texture, destinationRectangle, animation.GetFrame(), color, rotation, origin, effects, layerDepth);
Пример #4
0
 public void Draw(Animation2D animation, Rectangle destinationRectangle, Color color)
 => Draw(animation.Texture, destinationRectangle, animation.GetFrame(), color);