net.mazewar
Interface MazeListener

All Known Implementing Classes:
OverheadMazePanel, ScoreTableModel

public interface MazeListener

An interface for objects wishing to subscribe to notifications about events occurring in a Maze.

Version:
$Id: MazeListener.java 335 2004-01-23 16:37:37Z geoffw $
Author:
Geoffrey Washburn <geoffw@cis.upenn.edu>

Method Summary
 void clientAdded(Client client)
          Notification that new client has been added to the maze.
 void clientFired(Client client)
          Notification that a client has fired a projectile.
 void clientKilled(Client source, Client target)
          Notification that client source has killed client target.
 void clientRemoved(Client client)
          Notification that a client has been removed, or exiting the maze.
 void mazeUpdate()
          General notification that the state of the maze has changed.
 

Method Detail

mazeUpdate

void mazeUpdate()
General notification that the state of the maze has changed.


clientKilled

void clientKilled(Client source,
                  Client target)
Notification that client source has killed client target.

Parameters:
source - Client that fired the projectile.
target - Client that was killed.

clientAdded

void clientAdded(Client client)
Notification that new client has been added to the maze.

Parameters:
client - Client that was added.

clientFired

void clientFired(Client client)
Notification that a client has fired a projectile.

Parameters:
client - Client that fired.

clientRemoved

void clientRemoved(Client client)
Notification that a client has been removed, or exiting the maze.

Parameters:
client - Client that left.