-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behavior tree poolable #86
Conversation
Sorry for being late. |
It should be OK now. |
Thanks @mgsx-dev |
Done! |
Sure! I added something in the wiki : https://github.com/libgdx/gdx-ai/wiki/Behavior-Trees#pooling. Please review it, English is not my native language :-). |
Great work! Thanks |
As discussed in #12, here is changes to make behavior trees poolable.
Pool strategy can be configured as follow :
@davebaol : there is one minor impact in wiki (call to "reset" method have to be replaced by "resetTask") but i can't PR wiki changes with github. Maybe a pool subtopic would be helpful for developers.
Please feel free to make suggestions about design/code, I'll try to fix ASAP.