Package vue

Examples of vue.JeuGraphique


      } else if (arg0.getActionCommand().equals("Nouvelle partie")) {
        Partie modele = new Partie();
        //colonne/nbredecouleur/essai///
        //  modele.configuration(4,5,6);
        modele.configuration();
        JeuGraphique vue = new JeuGraphique();
        vue.setModele(modele);

      }

    } catch (ExceptionJeu e) {
      traiter_err(e);
View Full Code Here


    case GAGNANT:
      findepartie();
      if (vue.win() == 1) {
        Partie modele = new Partie();
        modele.configuration();
        JeuGraphique vue = new JeuGraphique();
        vue.setModele(modele);
      } else {
        URL url;
        try {
          url = new URL("http://localhost:8080/SpringMVC_Annotation/jeu.htm?nom="+ConfigEnvironnement.getInstance().getPseudo() +"&findepartie=ok");
          URLConnection urlConnection = url.openConnection();
          BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
          in.close();
        } catch (MalformedURLException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
        } catch (Exception ee) {
          // TODO Auto-generated catch block
         
        }
      }
      break;
      //perdant
    case PERDANT:
      findepartie();
      if (vue.lose() == 1) {
        Partie modele = new Partie();
        modele.configuration();
        JeuGraphique vue = new JeuGraphique();
        vue.setModele(modele);
      } else {
        URL url;
        try {
          url = new URL("http://localhost:8080/SpringMVC_Annotation/jeu.htm?nom="+ConfigEnvironnement.getInstance().getPseudo() +"&findepartie=ok");
          URLConnection urlConnection = url.openConnection();
          BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
          in.close();
        } catch (MalformedURLException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
        } catch (Exception ee) {
          // TODO Auto-generated catch block
         
        }
      }
      break;
    case SKIN:
      vue.alerteSkin();
      break;
    case AUTRE:
      break;
    }
  }
View Full Code Here

      Partie modele = new Partie();
      //colonne/nbredecouleur/essai///
      //  modele.configuration(4,5,6);
      modele.configuration();
   
      JeuGraphique vue = new JeuGraphique();
      vue.setModele(modele);


    }    else if (source == "Credit"){
      @SuppressWarnings("unused")
      FenetreCredits f = new FenetreCredits();
View Full Code Here

TOP

Related Classes of vue.JeuGraphique

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.