| 104 | return c; |
| 105 | } |
| 106 | UnitCommand UnitCommand::stop(Unit unit, bool shiftQueueCommand) |
| 107 | { |
| 108 | UnitCommand c{ unit, UnitCommandTypes::Stop }; |
| 109 | c.extra = shiftQueueCommand ? 1 : 0; |
| 110 | return c; |
| 111 | } |
| 112 | UnitCommand UnitCommand::follow(Unit unit, Unit target, bool shiftQueueCommand) |
| 113 | { |
| 114 | UnitCommand c{ unit, UnitCommandTypes::Follow }; |
no outgoing calls
no test coverage detected