| 48 | return c; |
| 49 | } |
| 50 | UnitCommand UnitCommand::train(Unit unit, UnitType type) |
| 51 | { |
| 52 | UnitCommand c{ unit, UnitCommandTypes::Train }; |
| 53 | c.extra = type; |
| 54 | return c; |
| 55 | } |
| 56 | UnitCommand UnitCommand::morph(Unit unit, UnitType type) |
| 57 | { |
| 58 | UnitCommand c{ unit, UnitCommandTypes::Morph }; |