| 54 | return c; |
| 55 | } |
| 56 | UnitCommand UnitCommand::morph(Unit unit, UnitType type) |
| 57 | { |
| 58 | UnitCommand c{ unit, UnitCommandTypes::Morph }; |
| 59 | c.extra = type; |
| 60 | return c; |
| 61 | } |
| 62 | UnitCommand UnitCommand::research(Unit unit, TechType tech) |
| 63 | { |
| 64 | UnitCommand c{ unit, UnitCommandTypes::Research }; |
no outgoing calls