Examples of doSurrogateMove()


Examples of com.barrybecker4.game.multiplayer.common.ui.MultiGameViewer.doSurrogateMove()

            Player currentPlayer = getCurrentPlayer();
            GameContext.log(0, "advanced to player="+ currentPlayer.getName());
            if (currentPlayer.isSurrogate()) {
                GameContext.log(0, "about to request surrogate move for " + currentPlayer
                        + " in controller=" + this + " in thread=" + Thread.currentThread().getName());
                pviewer.doSurrogateMove((SurrogateMultiPlayer)currentPlayer);
            }
            else if (!currentPlayer.isHuman()) {
                GameContext.log(0, "now moving for computer player  = " + currentPlayer);
                pviewer.doComputerMove(currentPlayer);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.