Package jadex.bdiv3.examples.alarmclock
Class PlaySongPlan
- java.lang.Object
-
- jadex.bdiv3.examples.alarmclock.PlaySongPlan
-
public class PlaySongPlan extends java.lang.ObjectPlan for playing a song.
-
-
Field Summary
Fields Modifier and Type Field Description protected AlarmclockAgent.PlaySongGoalgoalThe plan reason.protected javazoom.jl.player.PlayerplayerThe media player.
-
Constructor Summary
Constructors Constructor Description PlaySongPlan()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaborted()Cleanup, when the user "pressed the button".voidbody(IInternalAccess agent)The plan body.static voidmain(java.lang.String[] args)Main for testing.
-
-
-
Field Detail
-
player
protected javazoom.jl.player.Player player
The media player.
-
goal
protected AlarmclockAgent.PlaySongGoal goal
The plan reason.
-
-
Method Detail
-
body
public void body(IInternalAccess agent)
The plan body.
-
aborted
public void aborted()
Cleanup, when the user "pressed the button".
-
main
public static void main(java.lang.String[] args)
Main for testing.
-
-