zkat / big-brain

Utility AI library for the Bevy game engine
Other
1.04k stars 62 forks source link

Add concurrent mode: any success #67

Closed cBournhonesque closed 1 year ago

cBournhonesque commented 1 year ago

Hi, I wanted to have an Action that executes multiple actions concurrently, and succeeds when any of them works.

I tested it locally, works well :)

Added an example as well.

zkat commented 1 year ago

Closing in favor of #68

cBournhonesque commented 1 year ago

Hi, you didn't want to include the example? I thought it could be helpful to illustrate the types of concurrency. Is there any part I could change?

zkat commented 1 year ago

oh!!! I totally forgot to move that over too. Sorry, yes. The example would be good (although since I didn't keep Join/Race (sorry, I know), that'll need to be adapted. Do you want to PR it or would you rather I do it?

cBournhonesque commented 1 year ago

I'll let you do the adaptation if that's ok?

zkat commented 1 year ago

yeah that's totally fine. I'll take care of it. :)