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