Skip to main content

ITurnEffectMethods

Trait ITurnEffectMethods 

Source
pub trait ITurnEffectMethods: ITurnEffect {
    // Provided methods
    fn ctor(self) { ... }
    fn get_can_wait_skip(self) -> bool { ... }
    fn search(self) { ... }
    fn next_unit(self) { ... }
    fn damage(self, damage: impl Into<i32>) { ... }
    fn heal(self, heal: impl Into<i32>) { ... }
    fn execute(self) -> IEnumerator { ... }
    fn try_wait_time(self, time: impl Into<f32>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_can_wait_skip(self) -> bool

get_CanWaitSkip() overload

Source

fn search(self)

Search() overload

Source

fn next_unit(self)

NextUnit() overload

Source

fn damage(self, damage: impl Into<i32>)

Damage(i32) overload

Source

fn heal(self, heal: impl Into<i32>)

Heal(i32) overload

Source

fn execute(self) -> IEnumerator

Execute() overload

Source

fn try_wait_time(self, time: impl Into<f32>)

TryWaitTime(f32) 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: ITurnEffect> ITurnEffectMethods for __T

Available on crate feature app-turneffect only.