[][src]Type Definition bwapi_wrapper::prelude::UnitType

type UnitType = BWAPI_UnitTypes_Enum_Enum;

Implementations

impl UnitType[src]

pub fn size(&self) -> UnitSizeType[src]

pub fn mineral_price(&self) -> i32[src]

pub fn gas_price(&self) -> i32[src]

pub fn get_race(&self) -> Race[src]

pub fn destroy_score(&self) -> i32[src]

pub fn tile_width(&self) -> i32[src]

pub fn tile_height(&self) -> i32[src]

pub fn dimension_left(&self) -> i32[src]

pub fn dimension_right(&self) -> i32[src]

pub fn dimension_down(&self) -> i32[src]

pub fn width(&self) -> i32[src]

pub fn max_ground_hits(&self) -> i32[src]

pub fn air_weapon(&self) -> WeaponType[src]

pub fn max_energy(&self) -> i32[src]

pub fn abilities(&self) -> &'static [TechType][src]

pub fn space_provided(&self) -> i32[src]

pub fn sight_range(&self) -> i32[src]

pub fn cloaking_tech(&self) -> TechType[src]

pub fn upgrades(&self) -> &'static [UpgradeType][src]

pub fn what_builds(&self) -> (UnitType, i32)[src]

pub fn max_hit_points(&self) -> i32[src]

pub fn armor(&self) -> i32[src]

pub fn dimension_up(&self) -> i32[src]

pub fn height(&self) -> i32[src]

pub fn ground_weapon(&self) -> WeaponType[src]

pub fn max_air_hits(&self) -> i32[src]

pub fn top_speed(&self) -> f64[src]

pub fn halt_distance(&self) -> i32[src]

pub fn max_shields(&self) -> i32[src]

pub fn build_score(&self) -> i32[src]

pub fn seek_range(&self) -> i32[src]

pub fn required_units(&self) -> &'static [(UnitType, i32)][src]

pub fn tile_size(&self) -> TilePosition[src]

pub fn acceleration(&self) -> i32[src]

pub fn turn_radius(&self) -> i32[src]

pub fn can_produce(&self) -> bool[src]

pub fn can_attack(&self) -> bool[src]

pub fn can_move(&self) -> bool[src]

pub fn is_flyer(&self) -> bool[src]

pub fn required_tech(&self) -> TechType[src]

pub fn space_required(&self) -> i32[src]

pub fn armor_upgrade(&self) -> UpgradeType[src]

pub fn supply_required(&self) -> i32[src]

pub fn build_time(&self) -> i32[src]

pub fn supply_provided(&self) -> i32[src]

pub fn has_permanent_cloak(&self) -> bool[src]

pub fn is_special_building(&self) -> bool[src]

pub fn is_two_units_in_one_egg(&self) -> bool[src]

pub fn is_resource_container(&self) -> bool[src]

pub fn is_building(&self) -> bool[src]

pub fn is_detector(&self) -> bool[src]

pub fn regenerates_h_p(&self) -> bool[src]

pub fn is_addon(&self) -> bool[src]

pub fn is_mineral_field(&self) -> bool[src]

pub fn produces_creep(&self) -> bool[src]

pub fn is_spellcaster(&self) -> bool[src]

pub fn is_powerup(&self) -> bool[src]

pub fn is_refinery(&self) -> bool[src]

pub fn produces_larva(&self) -> bool[src]

pub fn is_invincible(&self) -> bool[src]

pub fn upgrades_what(&self) -> &'static [UpgradeType][src]

pub fn builds_what(&self) -> &'static [UnitType][src]

pub fn is_beacon(&self) -> bool[src]

pub fn is_mechanical(&self) -> bool[src]

pub fn is_spell(&self) -> bool[src]

pub fn is_robotic(&self) -> bool[src]

pub fn is_critter(&self) -> bool[src]

pub fn can_build_addon(&self) -> bool[src]

pub fn researches_what(&self) -> &'static [TechType][src]

pub fn is_resource_depot(&self) -> bool[src]

pub fn is_worker(&self) -> bool[src]

pub fn is_flying_building(&self) -> bool[src]

pub fn is_neutral(&self) -> bool[src]

pub fn is_cloakable(&self) -> bool[src]

pub fn is_hero(&self) -> bool[src]

pub fn requires_creep(&self) -> bool[src]

pub fn is_organic(&self) -> bool[src]

pub fn is_flag_beacon(&self) -> bool[src]

pub fn requires_psi(&self) -> bool[src]

pub fn is_burrowable(&self) -> bool[src]

pub fn name(&self) -> &'static str[src]

impl UnitType[src]

pub fn is_successor_of(&self, type_: UnitType) -> bool[src]