MapAnalyzer.constructs¶
Module Contents¶
Classes¶
|
Base class for all chokes |
|
Chokes found in the C extension where the terrain generates a choke point |
|
Wrapper for |
|
VisionBlockerArea are areas containing tiles that hide the units that stand in it, |
-
class
MapAnalyzer.constructs.ChokeArea(array: np.ndarray, map_data: MapData)[source]¶ Bases:
MapAnalyzer.Polygon.PolygonBase class for all chokes
-
class
MapAnalyzer.constructs.RawChoke(array: np.ndarray, map_data: MapData, raw_choke: CMapChoke)[source]¶ Bases:
MapAnalyzer.constructs.ChokeAreaChokes found in the C extension where the terrain generates a choke point
-
class
MapAnalyzer.constructs.MDRamp(map_data: MapData, array: np.ndarray, ramp: sc2Ramp)[source]¶ Bases:
MapAnalyzer.constructs.ChokeAreaWrapper for
sc2.game_info.Ramp,is responsible for calculating the relevant
Region
-
class
MapAnalyzer.constructs.VisionBlockerArea(map_data: MapData, array: np.ndarray)[source]¶ Bases:
MapAnalyzer.constructs.ChokeAreaVisionBlockerArea are areas containing tiles that hide the units that stand in it,
(for example, bushes)
Units that attack from within a
VisionBlockerAreacannot be targeted by units that do not stand inside
Indices and tables