--------------------------------------------- BUILD ------------------------------------------------------
| 114 | } |
| 115 | //--------------------------------------------- BUILD ------------------------------------------------------ |
| 116 | bool Unitset::build(UnitType type, TilePosition target) const |
| 117 | { |
| 118 | if ( target == TilePositions::None ) |
| 119 | return this->train(type); |
| 120 | return this->issueCommand(UnitCommand::build(nullptr, target, type)); |
| 121 | } |
| 122 | //--------------------------------------------- BUILD ADDON ------------------------------------------------ |
| 123 | bool Unitset::buildAddon(UnitType type) const |
| 124 | { |
nothing calls this directly
no test coverage detected