io.sarl.api.game.tgob
Class AbstractGob
All Known Subclasses:
BaseAction, BaseGoal
abstract class AbstractGob
extends java.lang.Object
Abstract class for the main entities that are used 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
java.lang.String name
Action Summary
Modifier and type Action and description
protected static java.lang.String formatNumber(double)
Format a number for its output.
java.lang.String getName
void setName(String)
Property Details
name
var name : java.lang.String

This property is an alias for the action: getName

Action Details
formatNumber(double)
protected def formatNumber(double) : java.lang.String
Format a number for its output.
Parameters:
value - the value to format.
Returns:
the value in the display format.
getName
def getName : java.lang.String
setName(String)
def setName(String)