Skip to main content

IBattleTalkEventMethods

Trait IBattleTalkEventMethods 

Source
pub trait IBattleTalkEventMethods: IBattleTalkEvent {
    // Provided methods
    fn ctor(
        self,
        calculator: impl Into<BattleCalculator>,
        unit: impl Into<Unit>,
        target: impl Into<Unit>,
        completed: impl Into<Action>,
    ) { ... }
    fn on_tick(self) { ... }
}

Provided Methods§

Source

fn ctor( self, calculator: impl Into<BattleCalculator>, unit: impl Into<Unit>, target: impl Into<Unit>, completed: impl Into<Action>, )

.ctor(crate::app::battlecalculator::BattleCalculator, crate::app::unit::Unit, crate::app::unit::Unit, crate::system::action::Action) overload

Source

fn on_tick(self)

OnTick() 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: IBattleTalkEvent> IBattleTalkEventMethods for __T

Available on crate feature app-battletalkevent only.