diff --git a/Advanced Software Engineering/Advanced Software Engineering/Verbs/VerbFactory.cs b/Advanced Software Engineering/Advanced Software Engineering/Verbs/VerbFactory.cs index 0a24200..c5ab264 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Verbs/VerbFactory.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Verbs/VerbFactory.cs @@ -10,7 +10,19 @@ using Advanced_Software_Engineering.Verbs; using Advanced_Software_Engineering.Verbs.DrawingVerbs; namespace Advanced_Software_Engineering { + /// + /// This class is responsible for creating Verbs. + /// public class VerbFactory { + /// + /// This function returns a Verb from a command and drawer. + /// + /// + /// This factory is specifically useful since it automatically converts the parameters to what they should be. + /// + /// The drawer to affect + /// The command as a string + /// A verb that maches the command public static Verb MakeVerb(Drawer drawer, string fullCommand) { Dictionary commandAndParameters = SettingsAndHelperFunctions.CommandAndParameterParser(fullCommand);