示例#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);