diff --git a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/DrawTo.cs b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/DrawTo.cs
index ea8f97e..484c62f 100644
--- a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/DrawTo.cs
+++ b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/DrawTo.cs
@@ -6,19 +6,36 @@ using System.Text;
using System.Threading.Tasks;
namespace Advanced_Software_Engineering.Verbs.DrawingVerbs {
+ ///
+ /// DrawTo Verb class
+ ///
public class DrawTo : Verb {
- protected Drawer drawer;
- protected Point moveToPoint;
+ Drawer drawer;
+ Point moveToPoint;
+
+ ///
+ /// Creates the DrawTo intstance
+ ///
+ /// drawer
+ /// X position to move to
+ /// Y position to move to
public DrawTo(Drawer drawer, int x, int y) {
this.drawer = drawer;
moveToPoint = new Point(x, y);
}
+ ///
+ /// Draws the line
+ ///
public void ExecuteVerb() {
drawer.DrawLine(moveToPoint);
}
+ ///
+ /// Describes how the line is going to be drawn
+ ///
+ ///
public string GetDescription() {
return "Draw line " + moveToPoint.X + ", " + moveToPoint.Y;
}