Selection command in bw
| 79 | |
| 80 | // Selection command in bw |
| 81 | class Select : private BWCommand<0x09> |
| 82 | { |
| 83 | public: |
| 84 | Select(int count, const BWAPI::Unit *units); |
| 85 | Select(int count, const BW::CUnit **units); |
| 86 | Select(const std::vector<BWAPI::Unit>& units); |
| 87 | |
| 88 | size_t size() const; |
| 89 | private: |
| 90 | u8 targCount; |
| 91 | UnitTarget targets[BW::MAX_SELECTION_COUNT]; |
| 92 | }; |
| 93 | |
| 94 | // Train unit command in bw. |
| 95 | class TrainUnit : private BWCommand<0x1F> |