diff --git a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/FillColor.cs b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/FillColor.cs index 7eb3df5..da7d2b6 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/FillColor.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Verbs/DrawingVerbs/FillColor.cs @@ -7,20 +7,35 @@ using System.Text; using System.Threading.Tasks; namespace Advanced_Software_Engineering.Verbs.DrawingVerbs { + /// + /// The FillColor Verb class + /// public class FillColor : Verb { Drawer drawer; Color color; + /// + /// Create the FillColor instance + /// + /// drawer + /// The color of the fill public FillColor(Drawer drawer, Color color) { this.drawer = drawer; this.color = color; } + /// + /// Set the fill color + /// public void ExecuteVerb() { drawer.SetFillColor(color); } + /// + /// Get description of the color that the drawer will use + /// + /// Description of the fill color public string GetDescription() { return "Set fill color to " + color.ToString(); }