| 254 | the array index */ |
| 255 | |
| 256 | void cSpatialResCount::State(int x) { |
| 257 | if (x >= 0 && x < grid.GetSize()) { |
| 258 | grid[x].State(); |
| 259 | } else { |
| 260 | assert(false); // x not valid id |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | /* Fold the rate variable into the resource state for one element using |
| 265 | the x,y coordinate */ |
no test coverage detected