summaryrefslogtreecommitdiff
path: root/types.d.ts
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2025-02-22 13:36:46 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2025-02-22 13:36:46 +0100
commit6379a462c75faefb08ac1e8e367fc7ead0c206c3 (patch)
treea7b0ba7ba139e6089dcb41a2d026281528e36b21 /types.d.ts
parentfbbf82d8db3bf6bf840553de4bc5ed8276f67ac7 (diff)
downloadland-and-freedom-6379a462c75faefb08ac1e8e367fc7ead0c206c3.tar.gz
refactor: rename leaf to state nodeHEADmaster
Diffstat (limited to 'types.d.ts')
-rw-r--r--types.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.d.ts b/types.d.ts
index cab4b5d..4594775 100644
--- a/types.d.ts
+++ b/types.d.ts
@@ -114,7 +114,7 @@ export type States = {
[key: string]: any;
};
-export type EngineNode = FunctionNode | LeafNode | SeqNode;
+export type EngineNode = FunctionNode | StateNode | SeqNode;
export interface FunctionNode {
t: 'f';
@@ -128,7 +128,7 @@ export interface SeqNode {
c: EngineNode[];
}
-export interface LeafNode<T = any> {
+export interface StateNode<T = any> {
t: 'l';
s: string; // State
p: FactionId | 'None' | 'all' | FactionId[]; // Player