| 60 | return c; |
| 61 | } |
| 62 | UnitCommand UnitCommand::research(Unit unit, TechType tech) |
| 63 | { |
| 64 | UnitCommand c{ unit, UnitCommandTypes::Research }; |
| 65 | c.extra = tech; |
| 66 | return c; |
| 67 | } |
| 68 | UnitCommand UnitCommand::upgrade(Unit unit, UpgradeType upgrade) |
| 69 | { |
| 70 | UnitCommand c{ unit, UnitCommandTypes::Upgrade }; |