发布0.1.3版本,修改节点基类的注释

This commit is contained in:
gongxh
2025-10-14 17:08:01 +08:00
parent 05b5c7fad5
commit 99ba5a210b
3 changed files with 2 additions and 11 deletions

View File

@@ -115,9 +115,6 @@ export abstract class BTNode implements IBTNode {
return this._local.getEntity();
}
/**
* 设置获取全局黑板数据
*/
public set<T>(key: string, value: T): void {
this._local.set(key, value);
}
@@ -126,9 +123,6 @@ export abstract class BTNode implements IBTNode {
return this._local.get(key);
}
/**
* 设置获取树根节点的黑板数据
*/
public setRoot<T>(key: string, value: T): void {
this._root.set(key, value);
}
@@ -137,9 +131,6 @@ export abstract class BTNode implements IBTNode {
return this._root.get(key);
}
/**
* 设置全局黑板数据
*/
public setGlobal<T>(key: string, value: T): void {
globalBlackboard.set(key, value);
}