gamedom1.agent.player2
Class CPUPlayerAgent2Dom1

java.lang.Object
  extended by infinitewisdom.model.agent.PlayerAgentAdapter
      extended by gamedom1.agent.player2.CPUPlayerAgent2Dom1
All Implemented Interfaces:
PlayerAgentIF, TimerStepIF

public class CPUPlayerAgent2Dom1
extends PlayerAgentAdapter

The simplest possible computer opponent. See the source code.


Nested Class Summary
 
Nested classes/interfaces inherited from class infinitewisdom.model.agent.PlayerAgentAdapter
PlayerAgentAdapter.CommandBuffer
 
Field Summary
 
Fields inherited from class infinitewisdom.model.agent.PlayerAgentAdapter
commandParser, commands, player
 
Constructor Summary
CPUPlayerAgent2Dom1(ServerCommandParserIF cp, PlayerIF p)
           
 
Method Summary
 void step()
           
 
Methods inherited from class infinitewisdom.model.agent.PlayerAgentAdapter
getCommands, getPlayer, sendClientCommand, sendServerCommand, setPlayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPUPlayerAgent2Dom1

public CPUPlayerAgent2Dom1(ServerCommandParserIF cp,
                           PlayerIF p)
Method Detail

step

public void step()
Specified by:
step in interface TimerStepIF
Overrides:
step in class PlayerAgentAdapter