C# Class Yarn.VirtualMachine

Show 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 property

public CommandHandler commandHandler
return CommandHandler

lineHandler public property

public LineHandler lineHandler
return LineHandler

nodeCompleteHandler public property

public NodeCompleteHandler nodeCompleteHandler
return NodeCompleteHandler

optionsHandler public property

public OptionsHandler optionsHandler
return OptionsHandler