public class GridSimulationAgentState extends SimulationAgentState
Modifier and Type | Field and Description |
---|---|
Boolean |
agentHoldsGold |
Boolean |
agentInDepot |
actionFailed, currentAction, lastAction, name, oldPosx, oldPosy, param, posx, posy, score, team
Constructor and Description |
---|
GridSimulationAgentState() |
Modifier and Type | Method and Description |
---|---|
void |
spreadAgent(GridSimulationWorldState state)
This method spreads the agents over the grid.
|
void |
spreadAgent(GridSimulationWorldState state,
GridSimulationConfigurationHandCrafted config,
int i)
This Method set the agents positions.
|
public void spreadAgent(GridSimulationWorldState state)
state
- The WorldState (grid)public void spreadAgent(GridSimulationWorldState state, GridSimulationConfigurationHandCrafted config, int i)
state
- The WorldStateconfig
- The configi
- AgentnumberCopyright © 2013. All Rights Reserved.