Initial Commit

This commit is contained in:
Rick Rongen
2018-02-21 09:40:31 +01:00
commit f203f3c86f
25 changed files with 2539 additions and 0 deletions

24
UseCases/IDrawable.cs Normal file
View File

@@ -0,0 +1,24 @@
using System.Drawing;
namespace UseCases
{
public interface IDrawable
{
/// <summary>
/// The name of the drawable.
/// </summary>
string Name { get; set; }
/// <summary>
/// The position of the drawable
/// </summary>
Point Position { get; set; }
/// <summary>
/// Draw the drawable
/// </summary>
/// <param name="g">The graphics to draw to</param>
/// <param name="font">The font to draw text with</param>
/// <param name="p">The pen to draw lines with</param>
void Draw(Graphics g, Font font, Pen p);
}
}