pub trait ICharacterTurnMethods: ICharacterTurn {
// Provided methods
fn get_cp(self) -> Character { ... }
fn get_is_active(self) -> bool { ... }
fn stop(self) { ... }
fn set_to_enemy(self) { ... }
fn set_dir(self, target_dir: impl Into<FXZ>) { ... }
fn turn_to_enemy(self) { ... }
fn turn_to_dir(self, target_dir: impl Into<FXZ>) { ... }
fn update(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_is_active(self) -> bool
fn get_is_active(self) -> bool
get_IsActive() overload
Sourcefn set_to_enemy(self)
fn set_to_enemy(self)
SetToEnemy() overload
Sourcefn turn_to_enemy(self)
fn turn_to_enemy(self)
TurnToEnemy() overload
Sourcefn turn_to_dir(self, target_dir: impl Into<FXZ>)
fn turn_to_dir(self, target_dir: impl Into<FXZ>)
TurnToDir(crate::combat::fxz::FXZ) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ICharacterTurn> ICharacterTurnMethods for __T
Available on crate feature
combat-characterturn only.