Skip to content

Transitioning back the a previous state #13

Discussion options

You must be logged in to vote

Oh wait... Sorting transition doesn't actually solve this racing issue, it will only make it biased to the transition with higher priority...

This issue is more of a flaw in the design, as "Flee" is responsible of making decision whether to "GoHome" or "FindFood", so using different parameter name, for example, "safe_to_go_home" or "safe_to_find_food" should be the cleanest way to achieve what you are trying to do.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@karlmax-elcabron-dev
Comment options

@imjp94
Comment options

Answer selected by karlmax-elcabron-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants