Module rust_sc2::unit[][src]

Stuff for convenient interaction with Units.

Structs

PassengerUnit

Unit inside transport or bunker. All passengers stored in passengers field.

RallyTarget

Rally point of production building. All rally points stored in rally_targets field.

Unit

Unit structure contains some raw data, helper methods for it's analysis and some methods for actions execution.

UnitOrder

Order given to unit. All current orders of unit stored in orders field.

Enums

CalcTarget

Weapon target used in calculate_weapon_stats.

DisplayType

The display type of Unit. Can be accessed through display_type field.

Traits

Radius

Trait for radius