using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace RecrownedAthenaeum.SpecialTypes { /// /// A wrapper that makes sure anything implementing can be drawn with options. /// public interface ISpecialDrawable { /// /// Should draw whatever implements this. /// /// The batch to be used. /// The location and dimensions to draw to. /// The color tint to draw with. /// The rotation to be used. /// The origin for the rotation. void Draw(SpriteBatch spriteBatch, Rectangle destination, Color color, float rotation = 0f, Vector2 origin = default(Vector2)); } }