BWAPI
|
#include <Order.h>
Public Member Functions | |
Order () | |
Order (int id) | |
const std::string & | getName () const |
const char * | c_str () const |
To get detailed information about what a unit is doing, you can use the Unit::getOrder method, which will return an Order object. Note that a single command, like gather minerals, can consist of several orders ( MoveToMinerals, HarvestMinerals2, MiningMinerals, ReturnMinerals, etc) which will indicate what state the unit is in while executing the command. For information about how to issue commands to units, go to Unit.
BWAPI::Order::Order | ( | int | id | ) |
const char * BWAPI::Order::c_str | ( | ) | const |
const std::string & BWAPI::Order::getName | ( | ) | const |
Returns the name of this order.