* Pull top-most position from the position stack. * @return Pulled position. * @pre Stack may not be empty (curMapStackPointer > 0) */
| 209 | * @pre Stack may not be empty (curMapStackPointer > 0) |
| 210 | */ |
| 211 | Position Micropolis::pullPos() |
| 212 | { |
| 213 | assert(curMapStackPointer > 0); |
| 214 | curMapStackPointer--; |
| 215 | return curMapStackXY[curMapStackPointer + 1]; |
| 216 | } |
| 217 | |
| 218 | |
| 219 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected