InstructionMatch Method (String, Thing, 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 Thing1,
string Preposition,
Thing Thing2
)
Public Function Match (
Verb As String,
Thing1 As Thing,
Preposition As String,
Thing2 As Thing
) As Boolean
public:
bool Match(
String^ Verb,
Thing^ Thing1,
String^ Preposition,
Thing^ Thing2
)
member Match :
Verb : string *
Thing1 : Thing *
Preposition : string *
Thing2 : Thing -> bool
Parameters
- Verb
- Type: SystemString
The verb to match - Thing1
- Type: EJW.TextBasedAdventureThing
The first Thing to match - Preposition
- Type: SystemString
The preposition to match - Thing2
- Type: EJW.TextBasedAdventureThing
The second Thing to match
Return Value
Type:
Boolean
See Also