public interface Behavior
Modifier and Type | Method and Description |
---|---|
boolean |
claimsControl()
Tells whether the behavior claims control of the system
|
void |
gainControl()
Entry point of the behavior when it gains control of the system.
|
int |
getPriority()
Inform the system about the behavior's priority
|
void |
reset()
Reset the state of the behavior before it gains control.
|
void |
yieldControl()
Enjoin the behavior to yield control back to the system as fast as possible.
|
boolean claimsControl()
void gainControl()
void yieldControl()
int getPriority()
void reset()