* Determines the type of bridge on a tile * @param t The tile to analyze * @pre IsBridgeTile(t) * @return The bridge type */
| 54 | * @return The bridge type |
| 55 | */ |
| 56 | inline BridgeType GetBridgeType(Tile t) |
| 57 | { |
| 58 | assert(IsBridgeTile(t)); |
| 59 | return GB(t.m6(), 2, 4); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Get the axis of the bridge that goes over the tile. Not the axis or the ramp. |
no test coverage detected