public class AgentActionAIComponent extends AbstractSimpleAIComponent
This is the mode important component and should be the final component in the chain.
This component contains the agent's State Machine which maps model => action depending on the current state of the model.
The model should contain all the information required by the individual states to map model => action. This is done by passing the model through all the other components prior to this one.
Created by raghavnarula on 03/11/2015.Constructor and Description |
---|
AgentActionAIComponent(CommandPlayer player) |
Modifier and Type | Method and Description |
---|---|
protected EnvironmentModel |
processModel(EnvironmentModel model) |
getNext, hasNext, put, setNext
public AgentActionAIComponent(CommandPlayer player)
protected EnvironmentModel processModel(EnvironmentModel model)
processModel
in class AbstractSimpleAIComponent