io.sarl.api.game.tgob
Class BaseGoal
All Superinterfaces:
Goal
class BaseGoal
extends AbstractGob
implements Goal
Default implementation of a goal in the game time-based goal-oriented behavior.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.gametgob
Since:
0.13
Property Summary
Modifier and type Property and description
double insistence
double insistenceChangePerTimeUnit
Inherited: name
Constructor Summary
Constructor and description
new([String],[double],[double])
Constructor.
Action Summary
Modifier and type Action and description
double getInsistence
double getInsistenceChangePerTimeUnit
void setInsistence(double)
void setInsistenceChangePerTimeUnit(double)
java.lang.String toString
Property Details
insistence
var insistence : double

This property is an alias for the action: getInsistence

insistenceChangePerTimeUnit
var insistenceChangePerTimeUnit : double

This property is an alias for the action: getInsistenceChangePerTimeUnit

Constructor Details
new([String],[double],[double])
new([String],[double],[double])
Constructor.
Parameters:
name - the name of the goal.
initialInsistence - the initial value of insistence that is associated to this goal.
timeChange - the insistence change per time unit.
Action Details
getInsistence
def getInsistence : double
getInsistenceChangePerTimeUnit
def getInsistenceChangePerTimeUnit : double
setInsistence(double)
def setInsistence(double)
setInsistenceChangePerTimeUnit(double)
def setInsistenceChangePerTimeUnit(double)
toString
def toString : java.lang.String