public class PlaySongPlan
extends jadex.bdiv3x.runtime.Plan
Modifier and Type | Field and Description |
---|---|
protected static int |
cnt
Some counter.
|
protected javazoom.jl.player.Player |
player
The media player.
|
Constructor and Description |
---|
PlaySongPlan() |
Modifier and Type | Method and Description |
---|---|
void |
aborted()
Cleanup, when the user "pressed the button".
|
void |
body()
The plan body.
|
void |
failed()
The failed method is called on plan failure/abort.
|
static void |
main(java.lang.String[] args)
Main for testing.
|
checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
protected javazoom.jl.player.Player player
protected static int cnt
public void body()
body
in class jadex.bdiv3x.runtime.Plan
public void aborted()
aborted
in class jadex.bdiv3x.runtime.Plan
public void failed()
failed
in class jadex.bdiv3x.runtime.Plan
public static void main(java.lang.String[] args)