Package Jade.Behaviours.MasterArbiter
Class GetPlayersArbitersBehaviour
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.OneShotBehaviour
Jade.Behaviours.MasterArbiter.GetPlayersArbitersBehaviour
- All Implemented Interfaces:
jade.util.leap.Serializable
,Serializable
public class GetPlayersArbitersBehaviour
extends jade.core.behaviours.OneShotBehaviour
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
-
Field Summary
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
action()
The starting behaviour for the MasterArbiterAgent.Methods inherited from class jade.core.behaviours.OneShotBehaviour
done
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
-
Constructor Details
-
GetPlayersArbitersBehaviour
public GetPlayersArbitersBehaviour()
-
-
Method Details
-
action
public void action()The starting behaviour for the MasterArbiterAgent. First, it checks for any registered players and arbiters, then it calls his PlayGameBehaviour to shuffle and assign them.- Specified by:
action
in classjade.core.behaviours.Behaviour
-