C# 클래스 PantheonPrototype.DialogueNode

파일 보기 프로젝트 열기: Bacon41/PantheonPrototype

보호된 프로퍼티들

프로퍼티 타입 설명
nextState int
text string

공개 메소드들

메소드 설명
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.

메소드 상세

DialogueNode() 공개 메소드

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.
리턴 System

Execute() 공개 메소드

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
리턴 void

프로퍼티 상세

nextState 보호되어 있는 프로퍼티

protected int nextState
리턴 int

text 보호되어 있는 프로퍼티

protected string text
리턴 string