2018-12-14 00:42:03 -06:00
|
|
|
|
using Microsoft.Xna.Framework;
|
2019-03-23 19:04:43 -05:00
|
|
|
|
using RecrownedAthenaeum.Render;
|
2018-12-14 00:42:03 -06:00
|
|
|
|
|
2019-01-15 17:33:55 -06:00
|
|
|
|
namespace RecrownedAthenaeum.SpecialTypes
|
2018-12-14 00:42:03 -06:00
|
|
|
|
{
|
2019-01-14 01:26:46 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A wrapper that makes sure anything implementing can be drawn with options.
|
|
|
|
|
/// </summary>
|
2018-12-14 00:42:03 -06:00
|
|
|
|
public interface ISpecialDrawable
|
|
|
|
|
{
|
2019-01-14 01:26:46 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should draw whatever implements this.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="spriteBatch">The batch to be used.</param>
|
|
|
|
|
/// <param name="destination">The location and dimensions to draw to.</param>
|
|
|
|
|
/// <param name="color">The color tint to draw with.</param>
|
|
|
|
|
/// <param name="rotation">The rotation to be used.</param>
|
|
|
|
|
/// <param name="origin">The origin for the rotation.</param>
|
2019-03-23 19:04:43 -05:00
|
|
|
|
void Draw(ConsistentSpriteBatch spriteBatch, Rectangle destination, Color color, float rotation = 0f, Vector2 origin = default(Vector2));
|
2018-12-14 00:42:03 -06:00
|
|
|
|
}
|
|
|
|
|
}
|