Package Model.Player

Examples of Model.Player.PlayerComputer


        this._modeJeu = val;
        if (this.get_modeJeu().get_mode() == ModeJeu.TYPE_JOUER_SEUL){
            this.get_choiceGameView().setParentAndChild(this.get_choiceGameView(), this.get_gridView());
            this.get_gridView().setParentAndChild(this.get_choiceGameView(), this.get_gridView());
            this.set_redPlayer(new Player(new Couleur(Couleur.RED)));
            this.set_blackPlayer(new PlayerComputer(new Couleur(Couleur.BLACK)));
            this.set_currentPlayer(this.get_redPlayer());
        } else if (this.get_modeJeu().get_mode() == ModeJeu.TYPE_JOUER_PLUSIEURS_SERVEUR) { // Mode Serveur
            this.get_choiceGameView().setParentAndChild(this.get_choiceGameView(), this.get_loginView());
            this.get_loginView().setParentAndChild(this.get_choiceGameView(), this.get_listWaitingPlayerView());
            this.get_listWaitingPlayerView().setParentAndChild(this.get_loginView(), this.get_gridView());
View Full Code Here

TOP

Related Classes of Model.Player.PlayerComputer

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.