Examples of placeBridge()


Examples of com.jcloisterzone.board.Tile.placeBridge()

        Tile tile = getBoard().get(pos);
        if (!tile.isBridgeAllowed(loc)) {
            throw new IllegalArgumentException("Cannot deploy " + loc + " bridge on " + pos);
        }
        bridgeUsed = true;
        tile.placeBridge(loc);
        game.post(new BridgeDeployedEvent(game.getActivePlayer(), pos, loc));
    }


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.