IHex h = game.getBoard().getHex(te.getPosition());
if (te instanceof BipedMech) {
if (!h.containsTerrain(Terrains.ARMS)) {
h.addTerrain(Terrains.getTerrainFactory().createTerrain(Terrains.ARMS, 1));
} else {
h.addTerrain(Terrains.getTerrainFactory().createTerrain(Terrains.ARMS, h.terrainLevel(Terrains.ARMS) + 1));
}
} else if (!h.containsTerrain(Terrains.LEGS)) {
h.addTerrain(Terrains.getTerrainFactory().createTerrain(Terrains.LEGS, 1));
} else {
h.addTerrain(Terrains.getTerrainFactory().createTerrain(Terrains.LEGS, h.terrainLevel(Terrains.LEGS) + 1));