Initial Commit
This commit is contained in:
24
UseCases/IDrawable.cs
Normal file
24
UseCases/IDrawable.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user