|
@@ -1,7 +1,7 @@
|
|
/// <reference path="DialogueNode.ts" />
|
|
/// <reference path="DialogueNode.ts" />
|
|
class DialogueBranch extends DialogueNode {
|
|
class DialogueBranch extends DialogueNode {
|
|
public type = NodeType.Branch;
|
|
public type = NodeType.Branch;
|
|
- public variable : () => any = () => {return false;}
|
|
|
|
|
|
+ public variable : () => any = () => {return true;}
|
|
public branchIds : Array<string> = [];
|
|
public branchIds : Array<string> = [];
|
|
public branchConditions : Array<() => any> = [];
|
|
public branchConditions : Array<() => any> = [];
|
|
|
|
|