From f9169e72bd0ed7630334993ff021070055ffa695 Mon Sep 17 00:00:00 2001 From: Lukasz Baldyga Date: Mon, 2 Nov 2020 19:49:21 +0000 Subject: [PATCH] Documented Dot --- .../Verbs/DrawingVerbs/Dot.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Dot.cs b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Dot.cs index 9ba6844..d6d52b7 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Dot.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/Dot.cs @@ -5,16 +5,31 @@ using System.Text; using System.Threading.Tasks; namespace Advanced_Software_Engineering.Verbs.DrawingVerbs { + /// + /// The Dot Verb class + /// public class Dot : Verb { Drawer drawer; + + /// + /// Creates the Dot Verb + /// + /// public Dot(Drawer drawer) { this.drawer = drawer; } + /// + /// Draws a dot where the pen currently is. + /// public void ExecuteVerb() { drawer.DrawDot(); } + /// + /// Gets the description of the command + /// + /// The description of the command public string GetDescription() { return "Places a dot where the pen currently is"; }