Add brownian behavior

This commit is contained in:
2022-03-30 17:19:45 +08:00
parent e5ae05e737
commit 17ee906f90
5 changed files with 130 additions and 3 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ class BehaviorRecorder<
* 获取下一个 ID
*/
public getNextId() {
return `B-${this.behaviorName}-${this.nameIndex ++}`;
return `B-${this.behaviorId}-${this.nameIndex ++}`;
}
/**