player.strategy
Class NoStrategy

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

public class NoStrategy
extends Strategy

This class implements the "no strategy" strategy.

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

Fields inherited from class player.Strategy
player
 
Constructor Summary
NoStrategy()
          Creates a "no strategy" strategy.
 
Method Summary
 Command nextCommand()
          Method to calculate the player's robot next command using the "no strategy" strategy;
 
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

NoStrategy

public NoStrategy()
Creates a "no strategy" strategy.
Method Detail

nextCommand

public Command nextCommand()
Method to calculate the player's robot next command using the "no strategy" strategy;
Overrides:
nextCommand in class Strategy
Returns:
The next command to send to the player's robot. (Always returns null.)


Copyright 2002 Allen D. Ball. All rights reserved.