Esempio n. 1
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="rectangle">The Rectangle.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Rectangle rectangle, float opacity = 1f)
 {
     DrawTexture(spriteSheet, rectangle, Color.White, opacity);
 }
Esempio n. 2
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="position">The Position.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Vector2 position, float opacity = 1f)
 {
     DrawTexture(spriteSheet, position, Color.White, opacity);
 }
Esempio n. 3
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="rectangle">The Rectangle.</param>
 /// <param name="color">The Color.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Rectangle rectangle, Color color, float opacity = 1f)
 {
     Renderer.DrawTexture(spriteSheet, rectangle, color, opacity);
 }
Esempio n. 4
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="position">The Position.</param>
 /// <param name="color">The Color.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Vector2 position, Color color, float opacity = 1f)
 {
     Renderer.DrawTexture(spriteSheet, position, color, opacity);
 }
Esempio n. 5
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="rectangle">The Rectangle.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Rectangle rectangle, float opacity = 1f)
 {
     DrawTexture(spriteSheet, rectangle, Color.White, opacity);
 }
Esempio n. 6
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="rectangle">The Rectangle.</param>
 /// <param name="color">The Color.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Rectangle rectangle, Color color, float opacity = 1f)
 {
     Renderer.DrawTexture(spriteSheet, rectangle, color, opacity);
 }
Esempio n. 7
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="position">The Position.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Vector2 position, float opacity = 1f)
 {
     DrawTexture(spriteSheet, position, Color.White, opacity);
 }
Esempio n. 8
0
 /// <summary>
 /// Draws a Texture.
 /// </summary>
 /// <param name="spriteSheet">The SpriteSheet.</param>
 /// <param name="position">The Position.</param>
 /// <param name="color">The Color.</param>
 /// <param name="opacity">The Opacity.</param>
 public void DrawTexture(SpriteSheet spriteSheet, Vector2 position, Color color, float opacity = 1f)
 {
     Renderer.DrawTexture(spriteSheet, position, color, opacity);
 }