diff --git a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Circle.cs b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Circle.cs index ac85be2..fbcd6b0 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Circle.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Circle.cs @@ -5,19 +5,34 @@ using System.Text; using System.Threading.Tasks; namespace Advanced_Software_Engineering.Verbs.DrawingVerbs { - class Circle : Verb { + /// + /// Circle Verb class. + /// + public class Circle : Verb { Drawer drawer; double scale; + /// + /// Circle constructor creates the Circle verb. + /// + /// drawer + /// scale of the circle public Circle(Drawer drawer, double scale) { this.drawer = drawer; this.scale = scale; } + /// + /// Execute the Circle verb, which is to draw a circle with the drawer. + /// public void ExecuteVerb() { drawer.DrawCircle(scale); } + /// + /// Describes how the circle will be drawn. + /// + /// public string GetDescription() { return "Draws a circle radius " + scale.ToString() + ", with origin of the pen"; }