pub struct EnemyIntent {
pub state: EnemyState,
pub goal: Vec3,
pub movement: Vec3,
pub aim: Vec3,
pub attack: bool,
pub reload: bool,
pub replan: bool,
}Fields§
§state: EnemyState§goal: Vec3World goal for the host’s collision-aware path planner.
movement: Vec3Unitless world movement for direct, visible engagement only.
aim: Vec3§attack: boolA request for the ordinary weapon system on this tick, never a hit event.
reload: bool§replan: boolHost should invalidate its route after genuine movement stalls.
Trait Implementations§
Source§impl Clone for EnemyIntent
impl Clone for EnemyIntent
Source§fn clone(&self) -> EnemyIntent
fn clone(&self) -> EnemyIntent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnemyIntent
impl Debug for EnemyIntent
impl Copy for EnemyIntent
Auto Trait Implementations§
impl Freeze for EnemyIntent
impl RefUnwindSafe for EnemyIntent
impl Send for EnemyIntent
impl Sync for EnemyIntent
impl Unpin for EnemyIntent
impl UnwindSafe for EnemyIntent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more