Package ch.sahits.game

Examples of ch.sahits.game.Client


    if (e instanceof NewGameEvent){
      NewGameEvent newGame = (NewGameEvent) e;
      switch (newGame.getStartupEventType()) {
      case SINGELPLAYER:{
        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);
View Full Code Here


    if (e instanceof NewGameEvent){
      NewGameEvent newGame = (NewGameEvent) e;
      switch (newGame.getStartupEventType()) {
      case SINGELPLAYER:{
        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);
View Full Code Here

TOP

Related Classes of ch.sahits.game.Client

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.