net.mazewar
Class LocalClient

java.lang.Object
  extended by net.mazewar.Client
      extended by net.mazewar.LocalClient
Direct Known Subclasses:
GUIClient, RobotClient

public abstract class LocalClient
extends Client

An abstract class for Clients in a Maze that local to the computer the game is running upon. You may choose to implement some of your code for communicating with other implementations by overriding methods in Client here to intercept upcalls by GUIClient and RobotClient and generate the appropriate network events.

Version:
$Id: LocalClient.java 343 2004-01-24 03:43:45Z geoffw $
Author:
Geoffrey Washburn <geoffw@cis.upenn.edu>

Constructor Summary
LocalClient(java.lang.String name)
          Create a Client local to this machine.
 
Method Summary
 
Methods inherited from class net.mazewar.Client
addClientListener, getName, getOrientation, getPoint, registerMaze, removeClientListener, unregisterMaze
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalClient

public LocalClient(java.lang.String name)
Create a Client local to this machine.

Parameters:
name - The name of this Client.