public boolean isHexProhibited(Hex hex) {
public boolean isHexProhibited(IHex hex) {
    public boolean isHexProhibited(Hex hex) {        switch(movementType) {            case MovementType.TRACKED :                return hex.terrainLevel(Terrains.WOODS) > 1 || hex.terrainLevel(Terrains.WATER) > 0;            case MovementType.WHEELED :                return hex.containsTerrain(Terrains.WOODS) || hex.containsTerrain(Terrains.ROUGH) ||                    hex.terrainLevel(Terrains.WATER) > 0 || hex.containsTerrain(Terrains.RUBBLE);            case MovementType.HOVER :                return hex.containsTerrain(Terrains.WOODS);            default :                return false;        }    }