MCPcopy Create free account
hub / github.com/bwapi/bwapi / morph

Method morph

bwapi/BWAPILIB/UnitCommand.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 };

Callers 3

startMethod · 0.45
startMethod · 0.45
onSendTextMethod · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
startMethod · 0.36