| 98 | return c; |
| 99 | } |
| 100 | UnitCommand UnitCommand::holdPosition(Unit unit, bool shiftQueueCommand) |
| 101 | { |
| 102 | UnitCommand c{ unit, UnitCommandTypes::Hold_Position }; |
| 103 | c.extra = shiftQueueCommand ? 1 : 0; |
| 104 | return c; |
| 105 | } |
| 106 | UnitCommand UnitCommand::stop(Unit unit, bool shiftQueueCommand) |
| 107 | { |
| 108 | UnitCommand c{ unit, UnitCommandTypes::Stop }; |
no outgoing calls