public class SocialSimplePotentialAgent extends SimplePotentialAgent
data, givingIn, givingUp, id, info, log, production, productionObserver, serialIDNOT_MANAGED_TYPE, UNKNOWN_SERIAL| Constructor and Description |
|---|
SocialSimplePotentialAgent() |
SocialSimplePotentialAgent(String id,
ModelData data,
ProductionModel production,
double givingUp,
double givingIn) |
| Modifier and Type | Method and Description |
|---|---|
Agent |
createAgent(Region region,
Cell... cells)
Create a new agent from this potential agent in the given region and
assign it as owner of the given cells.
|
getGivingIn, getGivingUp, getID, getPotentialSupply, getProduction, getSerialID, initialise, productionModelChanged, registerPotentialAgentProductionObserver, removePotentialAgentProductionObserver, toStringpublic SocialSimplePotentialAgent()
public SocialSimplePotentialAgent(String id, ModelData data, ProductionModel production, double givingUp, double givingIn)
id - data - production - givingUp - givingIn - public Agent createAgent(Region region, Cell... cells)
PotentialAgentcreateAgent in interface PotentialAgentcreateAgent in class SimplePotentialAgentSimplePotentialAgent.createAgent(org.volante.abm.data.Region,
org.volante.abm.data.Cell[])