(index int)
| 3139 | } |
| 3140 | |
| 3141 | func (mc *MapContents) ColorIndexToColor(index int) int { |
| 3142 | c := index &^ (MapPatternSolid + MapPatternDotted + MapPatternCrossed + MapPatternChecked + MapPatternTerrain) |
| 3143 | if c < 0 { |
| 3144 | c = 0 |
| 3145 | } |
| 3146 | return c |
| 3147 | } |
| 3148 | |
| 3149 | func (mc *MapContents) GridCursorPosition() Vector { |
| 3150 |
no outgoing calls
no test coverage detected