Package ch.sahits.game.openpatrician.server

Examples of ch.sahits.game.openpatrician.server.OpenPatricianServer


        if (eventNotice instanceof IPlayer){
          client = new Client((IPlayer) eventNotice);
          view.setClient(client);         
        } else if (eventNotice instanceof IGame){
          // notify server
          OpenPatricianServer server = new OpenPatricianServer((IGame) eventNotice);
          server.startStandaloneGame(this);
        } else {
          throw new IllegalArgumentException("Unknown notice: "+eventNotice);
        }
        break;
      }
View Full Code Here


        if (eventNotice instanceof IPlayer){
          client = new Client((IPlayer) eventNotice);
          view.setClient(client);         
        } else if (eventNotice instanceof IGame){
          // notify server
          OpenPatricianServer server = new OpenPatricianServer((IGame) eventNotice);
          server.startStandaloneGame(this);
        } else {
          throw new IllegalArgumentException("Unknown notice: "+eventNotice);
        }
        break;
      }
View Full Code Here

TOP

Related Classes of ch.sahits.game.openpatrician.server.OpenPatricianServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.