InstructionMatch Method (String) |  |
Hartismere School[This is preliminary documentation and is subject to change.]
Provides a shortcut for matching the verb in the current Instruction
Namespace: EJW.TextBasedAdventureAssembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntaxpublic bool Match(
string Verb
)
Public Function Match (
Verb As String
) As Boolean
public:
bool Match(
String^ Verb
)
member Match :
Verb : string -> bool
Parameters
- Verb
- Type: SystemString
The verb to match
Return Value
Type:
Booleantrue if the verb string matches the verb in the Instruction
See Also