Behavior
Define behaviors using regular entities and relations withbeet_flow
:
world.spawn((
RunOnSpawn
FallbackFlow,
children![
(
LogOnRun::("Hello"),
EndOnRun::failure(),
),
(
LogOnRun::("World"),
EndOnRun::success(),
)
]
));