Used to find neutral objects on the map.
More...
|
| NeutralImpl (const sc2::ObservationInterface *obs) |
| Constructor sets all neutral positions to a map. More...
|
|
bool | isMineral (sc2::Point2D &pos) |
| Check if a point is a mineral or not. More...
|
|
bool | isGas (sc2::Point2D &pos) |
| Check if a point is a geyser or not. More...
|
|
bool | isDestructible (sc2::Point2D &pos) |
| Check if a point is a destructable object or not. More...
|
|
bool | isNagaTower (sc2::Point2D &pos) |
| Check if a point is a Xelnaga tower or not. More...
|
|
Used to find neutral objects on the map.
◆ NeutralImpl()
Overseer::NeutralImpl::NeutralImpl |
( |
const sc2::ObservationInterface * |
obs | ) |
|
Constructor sets all neutral positions to a map.
- Parameters
-
obs | used to discover neutrals on the map. |
◆ isDestructible()
bool Overseer::NeutralImpl::isDestructible |
( |
sc2::Point2D & |
pos | ) |
|
Check if a point is a destructable object or not.
- Parameters
-
- Returns
- true if it is destructable object, otherwise false.
◆ isGas()
bool Overseer::NeutralImpl::isGas |
( |
sc2::Point2D & |
pos | ) |
|
Check if a point is a geyser or not.
- Parameters
-
- Returns
- true if it is geyser, otherwise false.
◆ isMineral()
bool Overseer::NeutralImpl::isMineral |
( |
sc2::Point2D & |
pos | ) |
|
Check if a point is a mineral or not.
- Parameters
-
- Returns
- true if point is mineral, otherwise false.
◆ isNagaTower()
bool Overseer::NeutralImpl::isNagaTower |
( |
sc2::Point2D & |
pos | ) |
|
Check if a point is a Xelnaga tower or not.
- Parameters
-
- Returns
- true if it is Xelnaga tower, otherwise false.
The documentation for this struct was generated from the following files: