|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MazeListener
An interface for objects wishing to subscribe to notifications about events occurring in a Maze
.
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 |
---|
void mazeUpdate()
void clientKilled(Client source, Client target)
source
has killed client target
.
source
- Client that fired the projectile.target
- Client that was killed.void clientAdded(Client client)
client
- Client that was added.void clientFired(Client client)
client
- Client that fired.void clientRemoved(Client client)
client
- Client that left.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |