-
All Known Implementing Classes:
-
BaseAction
interface Action
Describes an action that could be done by the agent in the game time-based goal-oriented behavior.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
Property Summary
Modifier and type |
Property and description |
int |
duration
Replies the duration of the action in time units |
java.lang.String |
name
Replies the name of the action. |
Action Summary
Modifier and type |
Action and description |
abstract int |
getDuration
Replies the duration of the action in time units |
abstract double |
getInsistenceChangeFor(Goal)
Replies the change to apply to the insistence value of the given goal when this action is apply. |
abstract java.lang.String |
getName
Replies the name of the action. |
Modifier and type |
Action and description |
abstract int |
getDuration
Replies the duration of the action in time units |
abstract double |
getInsistenceChangeFor(Goal)
Replies the change to apply to the insistence value of the given goal when this action is apply. |
abstract java.lang.String |
getName
Replies the name of the action. |
Property Details
-
duration
-
val duration : int
Replies the duration of the action in time units
This property is an alias for the action: getDuration
-
Returns:
-
-
name
-
val name : java.lang.String
Replies the name of the action.
This property is an alias for the action: getName
-
Returns:
-
Action Details
-
getDuration
-
def getDuration : int
Replies the duration of the action in time units
-
Returns:
-
-
getInsistenceChangeFor(Goal)
-
def getInsistenceChangeFor(Goal) : double
Replies the change to apply to the insistence value of the given goal when this action is apply.
-
Returns:
-
-
getName
-
def getName : java.lang.String
Replies the name of the action.
-
Returns:
-