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