Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update README.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update README.md
  • Loading branch information
hyeonjae authored Jun 14, 2020
commit 29fd7af80aa61e7224908193ab10b4d83e479b17
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ npm install -s fluent-behavior-tree
A behavior tree is created through *BehaviorTreeBuilder*. The tree is returned when the *build* function is called.

```
import {BehaviorTreeBuilder, BehaviorTreeStatus, TimeData} from "fluent-behavior-tree";
import {BehaviorTreeBuilder, BehaviorTreeStatus, StateData} from "fluent-behavior-tree";

// ...

@@ -54,7 +54,7 @@ Then, *Tick* the behavior tree on each *update* of your *loop*

```
public async update(deltaTime: number): Promise<void> {
await this.tree.tick(new TimeData(deltaTime));
await this.tree.tick(new StateData(deltaTime));
}
```