C# Class Yarn.VirtualMachine

Mostra file Open project: thesecretlab/YarnSpinner Class Usage Examples

Public Properties

Property Type Description
commandHandler CommandHandler
lineHandler LineHandler
nodeCompleteHandler NodeCompleteHandler
optionsHandler OptionsHandler

Public Methods

Method Description
ResetState ( ) : void
SetNode ( string nodeName ) : bool
Stop ( ) : void

Private Methods

Method Description
FindInstructionPointForLabel ( string labelName ) : int
RunInstruction ( Instruction i ) : void
RunNext ( ) : void
VirtualMachine ( Dialogue d, Program p ) : System

Method Details

ResetState() public method

public ResetState ( ) : void
return void

SetNode() public method

public SetNode ( string nodeName ) : bool
nodeName string
return bool

Stop() public method

public Stop ( ) : void
return void

Property Details

commandHandler public_oe property

public CommandHandler commandHandler
return CommandHandler

lineHandler public_oe property

public LineHandler lineHandler
return LineHandler

nodeCompleteHandler public_oe property

public NodeCompleteHandler nodeCompleteHandler
return NodeCompleteHandler

optionsHandler public_oe property

public OptionsHandler optionsHandler
return OptionsHandler