// Path: src/main/java/pl/joegreen/sergeants/simulator/TerrainType.java
// final static TerrainType TILE_FOG_OBSTACLE = new TerrainType(-4) /* Cities and Mountains show up as Obstacles in the fog of war.*/;
// 
// Path: src/main/java/pl/joegreen/sergeants/simulator/TerrainType.java
// final static TerrainType TILE_MOUNTAIN = new TerrainType(-2);


import java.util.Optional;
import static pl.joegreen.sergeants.simulator.TerrainType.TILE_FOG_OBSTACLE;
import static pl.joegreen.sergeants.simulator.TerrainType.TILE_MOUNTAIN;
package pl.joegreen.sergeants.simulator;




class MountainTile extends AbstractTile {

    MountainTile(int tileIndex) {
        super(tileIndex);
    }

    @Override
    public TerrainType getTerrainType(boolean visible) {
// Path: src/main/java/pl/joegreen/sergeants/simulator/TerrainType.java
// final static TerrainType TILE_FOG_OBSTACLE = new TerrainType(-4) /* Cities and Mountains show up as Obstacles in the fog of war.*/;
// 
// Path: src/main/java/pl/joegreen/sergeants/simulator/TerrainType.java
// final static TerrainType TILE_MOUNTAIN = new TerrainType(-2);


// Path: src/main/java/pl/joegreen/sergeants/simulator/MountainTile.java
import java.util.Optional;
import static pl.joegreen.sergeants.simulator.TerrainType.TILE_FOG_OBSTACLE;
import static pl.joegreen.sergeants.simulator.TerrainType.TILE_MOUNTAIN;

package pl.joegreen.sergeants.simulator;




class MountainTile extends AbstractTile {

    MountainTile(int tileIndex) {
        super(tileIndex);
    }

    @Override
    public TerrainType getTerrainType(boolean visible) {
        return visible ? TILE_MOUNTAIN : TILE_FOG_OBSTACLE;