Advanced Software Engineering
Advanced_Software_Engineering.VerbFactory Class Reference

This class is responsible for creating Verbs. More...

Static Public Member Functions

static IVerb MakeVerb (Drawer drawer, string fullCommand)
 This function returns a IVerb from a command and drawer. More...
 

Detailed Description

This class is responsible for creating Verbs.

Member Function Documentation

◆ MakeVerb()

static IVerb Advanced_Software_Engineering.VerbFactory.MakeVerb ( Drawer  drawer,
string  fullCommand 
)
static

This function returns a IVerb from a command and drawer.

This factory is specifically useful since it automatically converts the parameters to what they should be.

Parameters
drawerThe drawer to affect
fullCommandThe command as a string
Returns
A IVerb that maches the command

The documentation for this class was generated from the following file: