[−][src]Struct bwapi_wrapper::BWAPI_BulletInterface
The Bullet interface allows you to detect bullets, missiles, and other types of non-melee attacks or special abilities that would normally be visible through human eyes (A lurker spike or a Queen's flying parasite), allowing quicker reaction to unavoidable consequences.
For example, ordering medics to restore units that are about to receive a lockdown to compensate for latency and minimize its effects. You can't know entirely which unit will be receiving a lockdown unless you can detect the lockdown missile using the Bullet class.
Bullet objects are re-used after they are destroyed, however their ID is updated when it represents a new Bullet.
If Flag::CompleteMapInformation is disabled, then a Bullet is accessible if and only if it is visible. Otherwise if Flag::CompleteMapInformation is enabled, then all Bullets in the game are accessible. @see Game::getBullets, BulletInterface::exists @ingroup Interface
Fields
_base: BWAPI_Interface
Trait Implementations
impl Debug for BWAPI_BulletInterface
[src]
impl Default for BWAPI_BulletInterface
[src]
impl Eq for BWAPI_BulletInterface
[src]
impl Hash for BWAPI_BulletInterface
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BWAPI_BulletInterface> for BWAPI_BulletInterface
[src]
fn eq(&self, other: &BWAPI_BulletInterface) -> bool
[src]
fn ne(&self, other: &BWAPI_BulletInterface) -> bool
[src]
impl StructuralEq for BWAPI_BulletInterface
[src]
impl StructuralPartialEq for BWAPI_BulletInterface
[src]
Auto Trait Implementations
impl RefUnwindSafe for BWAPI_BulletInterface
impl !Send for BWAPI_BulletInterface
impl !Sync for BWAPI_BulletInterface
impl Unpin for BWAPI_BulletInterface
impl UnwindSafe for BWAPI_BulletInterface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,