public class Behavior1 extends SimpleBehavior
shouldYield| Constructor and Description |
|---|
Behavior1() |
| 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
|
reset, yieldControlpublic boolean claimsControl()
Behaviorpublic void gainControl()
Behaviorpublic int getPriority()
Behavior