Example #1
0
 /**
  * Generate a notification to listeners that a {@link Client} has fired.
  *
  * @param c The {@link Client} that fired.
  */
 private void notifyClientFired(Client c) {
   assert (c != null);
   Iterator i = listenerSet.iterator();
   while (i.hasNext()) {
     Object o = i.next();
     assert (o instanceof MazeListener);
     MazeListener ml = (MazeListener) o;
     ml.clientFired(c);
   }
 }