home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / enxle1f6 / src / games / battle / server / battlegame / dummyref.java < prev    next >
Encoding:
Java Source  |  1996-08-14  |  386 b   |  18 lines

  1. /*
  2.  * @(#)DummyRef.java
  3.  */
  4. package games.Battle.server.BattleGame;
  5.  
  6. /**
  7.  * A referee that does nothing so that the game thread can be run outside
  8.  * the complete server.
  9.  */
  10.  
  11. import games.Battle.server.ServerBoard.GameReferee;
  12.  
  13. public class DummyRef implements GameReferee {
  14.     public DummyRef() {}
  15.     public void playerDied(int playerNum) {}
  16.     public void gameOver() {}
  17. }
  18.