MCPcopy Create free account
hub / github.com/Blizzard/s2client-api / PowerSource

Class PowerSource

include/sc2api/sc2_data.h:248–260  ·  view source on GitHub ↗

Power source information for Protoss.

Source from the content-addressed store, hash-verified

246
247//! Power source information for Protoss.
248struct PowerSource {
249 PowerSource(const Point2D in_position, float in_radius, Tag in_tag) :
250 position(in_position),
251 radius(in_radius),
252 tag(in_tag) {};
253
254 //! Power source position.
255 Point2D position;
256 //! Power source radius.
257 float radius;
258 //! Unit tag of the power source.
259 Tag tag;
260};
261
262typedef std::vector<BuffData> Buffs;
263

Callers 1

UpdateObservationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected