// Path: src/VASL/LOS/counters/OBA.java
// public class OBA extends Counter {
// 
//     private Hex hex;
//     private int blastHeight = 2;
//     private int blastAreaRadius = 1;
// 
//     /**
//      * Create an OBA counter
//      * @param name the counter name
//      * @param hex the hex location of the counter
//      */
//     public OBA(String name, Hex hex){
//         super(name);
//         this.hex = hex;
//     }
// 
//     /**
//      * @return the hex location of the OBA counter
//      */
//     public Hex getHex(){
//         return hex;
//     }
// 
//     /**
//      * @return the blast height of the OBA
//      */
//     public int getBlastHeight(){
//         return blastHeight;
//     }
// 
//     /**
//      * @return the max range of the blast area from the counter
//      */
//     public int getBlastAreaRadius(){
//         return blastAreaRadius;
//     }
// }


import VASL.LOS.counters.OBA;
import java.awt.*;
import java.util.HashMap;
import java.util.HashSet;
		}

		// add the smoke hindrances
        for(Integer range : smokeHindrances.keySet()) {

            hindrance += smokeHindrances.get(range);
        }
        // add the vehicle hindrances
        for(Integer range: vehicleHindrances.keySet()) {
            hindrance += vehicleHindrances.get(range);
        }
        // add the OBA hindrances
        hindrance += obaHindrances.size();

		return hindrance;
	}

    /**
     * add a map hindrance hex
     * @param h the hindrance hex
     * @param x current x of LOS
     * @param y current y of LOS
     */
    public void addMapHindrance(Hex h, int hindrance, int x, int y){

        setFirstHindrance(x, y);

        // if there's already a terrain hindrance at this range replace if hindrance is greater
		Integer range = Map.range(sourceLocation.getHex(), h, sourceLocation.getHex().getMap().getMapConfiguration());
		if(!mapHindrances.containsKey(range) ||
// Path: src/VASL/LOS/counters/OBA.java
// public class OBA extends Counter {
// 
//     private Hex hex;
//     private int blastHeight = 2;
//     private int blastAreaRadius = 1;
// 
//     /**
//      * Create an OBA counter
//      * @param name the counter name
//      * @param hex the hex location of the counter
//      */
//     public OBA(String name, Hex hex){
//         super(name);
//         this.hex = hex;
//     }
// 
//     /**
//      * @return the hex location of the OBA counter
//      */
//     public Hex getHex(){
//         return hex;
//     }
// 
//     /**
//      * @return the blast height of the OBA
//      */
//     public int getBlastHeight(){
//         return blastHeight;
//     }
// 
//     /**
//      * @return the max range of the blast area from the counter
//      */
//     public int getBlastAreaRadius(){
//         return blastAreaRadius;
//     }
// }


// Path: src/VASL/LOS/Map/LOSResult.java
import VASL.LOS.counters.OBA;
import java.awt.*;
import java.util.HashMap;
import java.util.HashSet;

		}

		// add the smoke hindrances
        for(Integer range : smokeHindrances.keySet()) {

            hindrance += smokeHindrances.get(range);
        }
        // add the vehicle hindrances
        for(Integer range: vehicleHindrances.keySet()) {
            hindrance += vehicleHindrances.get(range);
        }
        // add the OBA hindrances
        hindrance += obaHindrances.size();

		return hindrance;
	}

    /**
     * add a map hindrance hex
     * @param h the hindrance hex
     * @param x current x of LOS
     * @param y current y of LOS
     */
    public void addMapHindrance(Hex h, int hindrance, int x, int y){

        setFirstHindrance(x, y);

        // if there's already a terrain hindrance at this range replace if hindrance is greater
		Integer range = Map.range(sourceLocation.getHex(), h, sourceLocation.getHex().getMap().getMapConfiguration());
		if(!mapHindrances.containsKey(range) ||
				(mapHindrances.containsKey(range) && hindrance > mapHindrances.get(range))) {