public class SGAgentType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<ActionType> |
actions |
java.lang.String |
typeName |
Constructor and Description |
---|
SGAgentType(java.lang.String typeName,
java.util.List<ActionType> actionsAvailableToType)
Creates a new agent type with a given name, and actions available to the agent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public java.lang.String typeName
public java.util.List<ActionType> actions
public SGAgentType(java.lang.String typeName, java.util.List<ActionType> actionsAvailableToType)
typeName
- the type nameactionsAvailableToType
- the available actions that this agent can take in the world.