Struct rust_rpg_toolkit::nodes::actor::ActorController [−][src]
pub struct ActorController {
pub kind: ActorControllerKind,
pub should_use_weapon: bool,
pub should_use_selected_ability: bool,
pub move_direction: Vec2,
pub aim_direction: Vec2,
pub should_start_interaction: bool,
pub should_pick_up_items: bool,
pub should_dash: bool,
pub should_sprint: bool,
pub is_sprint_locked: bool,
pub should_respawn: bool,
pub equip_weapon: Option<String>,
}
Fields
kind: ActorControllerKind
should_use_weapon: bool
should_use_selected_ability: bool
move_direction: Vec2
aim_direction: Vec2
should_start_interaction: bool
should_pick_up_items: bool
should_dash: bool
should_sprint: bool
is_sprint_locked: bool
should_respawn: bool
equip_weapon: Option<String>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ActorController
impl Send for ActorController
impl Sync for ActorController
impl Unpin for ActorController
impl UnwindSafe for ActorController
Blanket Implementations
Mutably borrows from an owned value. Read more