Package jadex.bdiv3.examples.joke
Class JokeAgent.AchieveMoodGoal
- java.lang.Object
-
- jadex.bdiv3.examples.joke.JokeAgent.AchieveMoodGoal
-
- Enclosing class:
- JokeAgent
public class JokeAgent.AchieveMoodGoal extends java.lang.Object
Goal to achieve a certain state of mood.
-
-
Field Summary
Fields Modifier and Type Field Description protected JokeAgent.Mood
mood
The mood to achieve.
-
Constructor Summary
Constructors Constructor Description AchieveMoodGoal(JokeAgent.Mood mood)
Create a new achieve mood goal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JokeAgent.Mood
getMood()
Get the mood.boolean
moodAchieved()
boolean
moodAchieved(java.lang.String bla)
-
-
-
Field Detail
-
mood
protected JokeAgent.Mood mood
The mood to achieve.
-
-
Constructor Detail
-
AchieveMoodGoal
public AchieveMoodGoal(JokeAgent.Mood mood)
Create a new achieve mood goal.- Parameters:
mood
- The mood to achieve.
-
-
Method Detail
-
moodAchieved
public boolean moodAchieved()
-
moodAchieved
public boolean moodAchieved(java.lang.String bla)
-
getMood
public JokeAgent.Mood getMood()
Get the mood.- Returns:
- The mood
-
-