| 135 | this->setValue(p.x,p.y,value); |
| 136 | }; |
| 137 | void setRange(int left, int top, int right, int bottom, unsigned char value) |
| 138 | { |
| 139 | for ( int y = top; y < bottom; ++y ) |
| 140 | for ( int x = left; x < right; ++x ) |
| 141 | this->setValue(x,y,value); |
| 142 | }; |
| 143 | void setRange(TilePosition lt, TilePosition rb, unsigned char value) |
| 144 | { |
| 145 | this->setRange(lt.x,lt.y,rb.x,rb.y,value); |
no test coverage detected