Added a state.getTerrainType() method