Sets the given behavior
as current
behavior.
Sets the given behavior
as current
behavior.
the behavior to set.
if true
(default) replaces the current
behavior on the behavior stack, if false
pushes behavior
on the behavior stack.
The current behavior.
The initial behavior.
Pops the current behavior
from the behavior stack, making the previous behavior the current
behavior.
Pops the current behavior
from the behavior stack, making the previous behavior the current
behavior.
If the behavior stack contains only a single element, the current
behavior is reverted to the initial
behavior.
Provides a context for managing behaviors.