All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.movitrobot.MovitRobotPlayer

java.lang.Object
   |
   +----pinball.player.standard.StdPlayer
           |
           +----pinball.player.movitrobot.MovitRobotPlayer

public class MovitRobotPlayer
extends StdPlayer
Player which controls a robot.


Constructor Index

 o MovitRobotPlayer()

Method Index

 o clientStrategy(Buffer, TextArea)
Get the strategy thread for the player.
 o localStrategy(Buffer, TextArea, Camera)
Get the strategy thread for the player.
 o main(String[])
Start up the program.
 o makeIt(StdPlayer, String[])
Makes the player.

Constructors

 o MovitRobotPlayer
 public MovitRobotPlayer()

Methods

 o main
 public static void main(String args[])
Start up the program. Takes command line arguments. Takes the following command line arguments: -s for server mode. -c for client mode.

 o localStrategy
 public Strategy localStrategy(Buffer buffer,
                               TextArea gameStats,
                               Camera camera)
Get the strategy thread for the player.

Parameters:
buffer - the first buffer in the series of buffers for the system.
gameStats - the area to write the game stats to.
camera - the camera for the system.
Returns:
strategy thread.
Overrides:
localStrategy in class StdPlayer
 o clientStrategy
 public Strategy clientStrategy(Buffer buffer,
                                TextArea gameStats)
Get the strategy thread for the player.

Parameters:
buffer - the first buffer in the series of buffers for the system.
gameStats - the area to write the game stats to.
Returns:
strategy thread.
Overrides:
clientStrategy in class StdPlayer
 o makeIt
 public void makeIt(StdPlayer player,
                    String args[])
Makes the player.

Parameters:
player - Player to be.
args - Command line arguments.
Overrides:
makeIt in class StdPlayer

All Packages  Class Hierarchy  This Package  Previous  Next  Index