|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvs.characteragent.AdoptedGoalSchema
public class AdoptedGoalSchema
Wrapper for GoalSchema when it is adopted by the Character agent: it gets a planner
| Constructor Summary | |
|---|---|
AdoptedGoalSchema(GoalSchema gs,
java.lang.String characterURI)
Creates a new AdoptedGoalSchema |
|
| Method Summary | |
|---|---|
GoalSchema |
getGoalSchema()
Returns the goal schema |
PoPlanner |
getPlanner()
Returns the partial order planner associated with this goal |
boolean |
getSuggested()
Retrieve whether this goal was suggested by plot agent |
float |
getUrgency()
Return the urgency of the goal (i.e. how immediate should it be executed) |
void |
setSuggested(boolean suggested)
Set whether this goal was suggested by plot agent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdoptedGoalSchema(GoalSchema gs,
java.lang.String characterURI)
gs - the goal schema| Method Detail |
|---|
public GoalSchema getGoalSchema()
public PoPlanner getPlanner()
public float getUrgency()
public void setSuggested(boolean suggested)
suggested - whether this was the casepublic boolean getSuggested()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||