SimpleAgent1¶
-
public class
SimpleAgent1
extends Agent¶ A simple agent that makes all its units move in random directions if they are not attacking. Will attack any enemy within sight range.
Author: Tim
Methods¶
initialStep¶
loadPlayerData¶
-
public void
loadPlayerData
(InputStream is)¶
middleStep¶
savePlayerData¶
-
public void
savePlayerData
(OutputStream os)¶
terminalStep¶
-
public void
terminalStep
(StateView newstate, History.HistoryView statehistory)¶