Game Development Reference
In-Depth Information
}
void RunCombatNode()
{
}
void RunFleeNode()
{
}
Each of these functions will run the finite state machines that make up the behaviors.
These functions are essentially a middleman between the behavior and the behavi-
or's action. Using these functions is the beginning of having more control over our
behaviors, something that can't be done with a simple finite state machine.
Search WWH ::




Custom Search