Package com.jcloisterzone.ui.grid.layer

Examples of com.jcloisterzone.ui.grid.layer.DragonAvailableMove


        gridPanel.addLayer(new FollowerAreaLayer(gridPanel), false); //70



        if (game.hasCapability(DragonCapability.class)) {
            gridPanel.addLayer(new DragonAvailableMove(gridPanel), false);
            dragonLayer = new DragonLayer(gridPanel);
            gridPanel.addLayer(dragonLayer); //90
        }
        if (game.hasCapability(FairyCapability.class)) {
            fairyLayer = new FairyLayer(gridPanel);
View Full Code Here


        DragonLayer dragonDecoration = gamePanel.getGridPanel().findLayer(DragonLayer.class);
        dragonDecoration.setMoves(movesLeft);
        gamePanel.getGridPanel().repaint();
        logger.debug("UI selectdragon move, left {}, {}", movesLeft, positions);
        if (ev.getTargetPlayer().isLocalHuman()) {
            DragonAvailableMove availMoves = gamePanel.getGridPanel().findLayer(DragonAvailableMove.class);
            availMoves.setPositions(positions);
            gamePanel.getGridPanel().showLayer(availMoves);
            client.beep();
        }
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.ui.grid.layer.DragonAvailableMove

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.