Package jadex.bdiv3.examples.alarmclock
Class PlaySongPlan
- java.lang.Object
-
- jadex.bdiv3.examples.alarmclock.PlaySongPlan
-
public class PlaySongPlan extends java.lang.Object
Plan for playing a song.
-
-
Field Summary
Fields Modifier and Type Field Description protected AlarmclockAgent.PlaySongGoal
goal
The plan reason.protected javazoom.jl.player.Player
player
The media player.
-
Constructor Summary
Constructors Constructor Description PlaySongPlan()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aborted()
Cleanup, when the user "pressed the button".void
body(IInternalAccess agent)
The plan body.static void
main(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.
-
-