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