Package vindinium.Board

Examples of vindinium.Board.Mine


            return 0;
        }
        int delta = 0;
        Tile tile = board.tileAt(p);
        if (tile instanceof Mine) {
            Mine mine = (Mine) tile;
            delta += mine.isOwnedBy(hero) ? 0 : -HP_LOSS_MINE_FIGHT;
        } else if (tile == Tile.TAVERN) {
            delta += HP_WIN_TAVERN;
        }

        delta += deltaHpFrom(move(p, Direction.NORTH));
View Full Code Here

TOP

Related Classes of vindinium.Board.Mine

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.