| 96 | this_t& setDirection(PointI dir) { return d = dir, *this; } |
| 97 | |
| 98 | bool step(typename POINT::value_t s = 1) |
| 99 | { |
| 100 | p += s * d; |
| 101 | return isIn(p); |
| 102 | } |
| 103 | |
| 104 | this_t movedBy(POINT o) const noexcept { return {*img, p + o, d}; } |
| 105 | this_t turnedBack() const noexcept { return {*img, p, back()}; } |
no outgoing calls
no test coverage detected