BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BWAPI::Order Class Reference

#include <Order.h>

Inheritance diagram for BWAPI::Order:
Inheritance graph
[legend]
Collaboration diagram for BWAPI::Order:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Order ()
 Order (int id)
const std::string & getName () const
const char * c_str () const

Detailed Description

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.


Constructor & Destructor Documentation


Member Function Documentation

const char * BWAPI::Order::c_str ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string & BWAPI::Order::getName ( ) const

Returns the name of this order.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines