Exemplo n.º 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);
Exemplo n.º 2
0
 public void Draw(Animation2D animation, Vector2 position, Color color)
 => Draw(animation.Texture, position, animation.GetFrame(), color);
Exemplo n.º 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);
Exemplo n.º 4
0
 public void Draw(Animation2D animation, Rectangle destinationRectangle, Color color)
 => Draw(animation.Texture, destinationRectangle, animation.GetFrame(), color);