player.strategy
Class DumbSitAndWait

java.lang.Object
  |
  +--player.Strategy
        |
        +--player.strategy.DumbSitAndWait

public class DumbSitAndWait
extends Strategy

A dumb sit-and-wait strategy.

Version:
$Revision: 1.3 $
Author:
Allen D. Ball

Fields inherited from class player.Strategy
player
 
Constructor Summary
DumbSitAndWait()
          Creates a dumb sit-and-wait player strategy.
 
Method Summary
 Command nextCommand()
          Method to calculate the player's robot next command.
 
Methods inherited from class player.Strategy
getPlayer, initialize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumbSitAndWait

public DumbSitAndWait()
Creates a dumb sit-and-wait player strategy.
Method Detail

nextCommand

public Command nextCommand()
Description copied from class: Strategy
Method to calculate the player's robot next command.
Overrides:
nextCommand in class Strategy
Following copied from class: player.Strategy
Returns:
The next command to send to the player's robot.


Copyright 2002 Allen D. Ball. All rights reserved.