|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectArbitrator
public class Arbitrator
Dies stellt eine leicht modifizierte Version zum Original dar. Für meine Zwecke muss nämlich ein Behaviours immer wieder aufgerufen werden, auch wenn es bereits aktiv ist. Dazu wurde eine if-Bedingung entfernt. Arbitrator controls which behavior should currently be active in a behavior control system. Make sure to call start() after the Arbitrator is instantiated.
Behavior| Constructor Summary | |
|---|---|
Arbitrator(Behavior[] behaviors)
Allocates an Arbitrator object and initializes it with an array of Behavior objects. |
|
| Method Summary | |
|---|---|
void |
start()
This method starts the arbitration of Behaviors. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Arbitrator(Behavior[] behaviors)
behaviors - An array of Behavior objects.| Method Detail |
|---|
public void start()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||