Click or drag to resize
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.TextBasedAdventure
Assembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntax
public bool Match(
	string Verb,
	Thing Thing
)

Parameters

Verb
Type: SystemString
The verb to match
Thing
Type: EJW.TextBasedAdventureThing
The Thing to match

Return Value

Type: Boolean
true if the given verb string matches the verb and the given Thing matches the Thing in the Instruction
See Also