game.board.getHex(entity.getPosition()).terrainLevel(Terrains.WATER) > 0) {
game.getBoard().getHex(entity.getPosition()).terrainLevel(Terrains.WATER) > 0) {
            public boolean accept(Entity entity) {                if (entity.isOffBoard()) {                    return false;                }                // TODO : correctly handle bridges.                if (entity instanceof Tank &&                    (entity.getMovementType() == Entity.MovementType.TRACKED ||                     entity.getMovementType() == Entity.MovementType.WHEELED ) &&                    game.board.getHex(entity.getPosition()).terrainLevel(Terrains.WATER) > 0) {                        return true;                }                return false;            }