Skip to main content

ICharacterTurnMethods

Trait ICharacterTurnMethods 

Source
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§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn get_is_active(self) -> bool

get_IsActive() overload

Source

fn stop(self)

Stop() overload

Source

fn set_to_enemy(self)

SetToEnemy() overload

Source

fn set_dir(self, target_dir: impl Into<FXZ>)

SetDir(crate::combat::fxz::FXZ) overload

Source

fn turn_to_enemy(self)

TurnToEnemy() overload

Source

fn turn_to_dir(self, target_dir: impl Into<FXZ>)

TurnToDir(crate::combat::fxz::FXZ) overload

Source

fn update(self)

Update() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: ICharacterTurn> ICharacterTurnMethods for __T

Available on crate feature combat-characterturn only.