C# Class PantheonPrototype.DialogueNode

Mostrar archivo Open project: Bacon41/PantheonPrototype

Protected Properties

Property Type Description
nextState int
text string

Public Methods

Method Description
DialogueNode ( int nextState, string text ) : System

This is the constructor for a basic dialogue node.

Execute ( string param ) : void

This is a function that does stuff. It will allow nodes to execute some sort of code so that expansion of the dialogue events can happen. A arbitrary string for paraming things.

Method Details

DialogueNode() public method

This is the constructor for a basic dialogue node.
public DialogueNode ( int nextState, string text ) : System
nextState int The next state that the node should go to. States start at 0 and specifying a value of 0 will end conversation.
text string The text in the node in question.
return System

Execute() public method

This is a function that does stuff. It will allow nodes to execute some sort of code so that expansion of the dialogue events can happen. A arbitrary string for paraming things.
public Execute ( string param ) : void
param string
return void

Property Details

nextState protected_oe property

protected int nextState
return int

text protected_oe property

protected string text
return string