BWAPI
Public Member Functions
MarineAgent Class Reference

#include <MarineAgent.h>

Inheritance diagram for MarineAgent:
Inheritance graph
[legend]
Collaboration diagram for MarineAgent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MarineAgent (Unit *mUnit)
void computeActions ()
string getTypeName ()
bool isBunkered ()
void assignToBunkerDefend (Unit *bunker)

Detailed Description

The MarineAgent handles Terran Marine units.

Implemented special abilities:

Author: Johan Hagelback (johan.hagelback@gmail.com)


Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Assigns this unit to defend from a Bunker.

Here is the caller graph for this function:

void MarineAgent::computeActions ( ) [virtual]

Called each update to issue orders.

Reimplemented from UnitAgent.

Here is the call graph for this function:

string MarineAgent::getTypeName ( ) [virtual]

Returns the unique type name for unit agents.

Reimplemented from UnitAgent.

Returns true if this unit is assigned to a Bunker.

Reimplemented from UnitAgent.

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 Enumerations Enumerator Defines