public class Agent extends AbstractPlayer
Constructor and Description |
---|
Agent(StateObservation stateObs,
ElapsedCpuTimer elapsedTimer)
initialize all variables for the agent
|
Modifier and Type | Method and Description |
---|---|
Types.ACTIONS |
act(StateObservation stateObs,
ElapsedCpuTimer elapsedTimer)
return ACTION_NIL on every call to simulate doNothing player
|
act
draw, getAllActions, getLastAction, getPlayerID, isHuman, logAction, result, resultMulti, setPlayerID, setup, teardown
public Agent(StateObservation stateObs, ElapsedCpuTimer elapsedTimer)
stateObs
- Observation of the current state.elapsedTimer
- Timer when the action returned is due.public Types.ACTIONS act(StateObservation stateObs, ElapsedCpuTimer elapsedTimer)