We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d56ec9f commit c044b66Copy full SHA for c044b66
megamek/src/megamek/common/Hex.java
@@ -557,8 +557,8 @@ public boolean hasDepth1WaterOrDeeper() {
557
}
558
559
/**
560
- * @return True if there is a bridge in this hex (thereby excluding any other type of building and requiring
561
- * Terrains.BRIDGE_ELEV and Terrains.BRIDGE_CF to be present in this hex).
+ * @return True if there is a bridge in this hex. Tests if the hex has Terrains.BRIDGE. When true, the hex will also
+ * have Terrains.BRIDGE_ELEV and Terrains.BRIDGE_CF.
562
*/
563
public boolean hasBridge() {
564
return containsTerrain(Terrains.BRIDGE);
0 commit comments