C# Class PantheonPrototype.DialogueNode

Afficher le fichier Open project: Bacon41/PantheonPrototype

Protected Properties

Свойство Type Description
nextState int
text string

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Execute() public méthode

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
Résultat void

Property Details

nextState protected_oe property

protected int nextState
Résultat int

text protected_oe property

protected string text
Résultat string