ResourceCollectionAgent¶
-
public class
ResourceCollectionAgent
extends Agent¶ This agent will first collect gold to produce a peasant, then the two peasants will collect gold and wood separately until reach goal.
Author: Feng
Constructors¶
Methods¶
initialStep¶
loadPlayerData¶
-
public void
loadPlayerData
(InputStream is)¶
middleStep¶
savePlayerData¶
-
public void
savePlayerData
(OutputStream os)¶
terminalStep¶
-
public void
terminalStep
(StateView newstate, History.HistoryView statehistory)¶