| 113 | uint32_t& orderTableLength() { return getGameState().orderTableLength; } |
| 114 | |
| 115 | void shiftOrdersLeft(const uint32_t offsetToShiftTowards, const int16_t sizeToShiftBy) |
| 116 | { |
| 117 | std::rotate(&orders()[offsetToShiftTowards], &orders()[offsetToShiftTowards + sizeToShiftBy], &orders()[orderTableLength()]); |
| 118 | } |
| 119 | |
| 120 | void shiftOrdersRight(const uint32_t offsetToShiftFrom, const int16_t sizeToShiftBy) |
| 121 | { |
no test coverage detected