From 28d4f48b51aea068016ccf300dee627f5fdfc156 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 14 Dec 2018 00:42:03 -0600 Subject: [PATCH] interface added for all the possible special drawable objects. --- RecrownedAthenaeum/DataTypes/ISpecialDrawable.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 RecrownedAthenaeum/DataTypes/ISpecialDrawable.cs diff --git a/RecrownedAthenaeum/DataTypes/ISpecialDrawable.cs b/RecrownedAthenaeum/DataTypes/ISpecialDrawable.cs new file mode 100644 index 0000000..a6fa776 --- /dev/null +++ b/RecrownedAthenaeum/DataTypes/ISpecialDrawable.cs @@ -0,0 +1,15 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace RecrownedAthenaeum.DataTypes +{ + public interface ISpecialDrawable + { + void Draw(SpriteBatch spriteBatch, Rectangle destination, Color color, float rotation = 0f, Vector2 origin = default(Vector2)); + } +}