Skip to main content

IGodGrowSequenceMethods

Trait IGodGrowSequenceMethods 

Source
pub trait IGodGrowSequenceMethods: IGodGrowSequence {
    // Provided methods
    fn ctor(
        self,
        god_unit: impl Into<GodUnit>,
        unit: impl Into<Unit>,
        exp: impl Into<i32>,
        dirty: impl Into<i32>,
    ) { ... }
    fn gain_exp(self) { ... }
    fn gain_dirty(self) { ... }
    fn check_notify_level_cap_talk(self) { ... }
    fn notify_level_cap_talk(self) { ... }
    fn check_level_up(self) { ... }
    fn level_up(self) { ... }
}

Provided Methods§

Source

fn ctor( self, god_unit: impl Into<GodUnit>, unit: impl Into<Unit>, exp: impl Into<i32>, dirty: impl Into<i32>, )

.ctor(crate::app::godunit::GodUnit, crate::app::unit::Unit, i32, i32) overload

Source

fn gain_exp(self)

GainExp() overload

Source

fn gain_dirty(self)

GainDirty() overload

Source

fn check_notify_level_cap_talk(self)

CheckNotifyLevelCapTalk() overload

Source

fn notify_level_cap_talk(self)

NotifyLevelCapTalk() overload

Source

fn check_level_up(self)

CheckLevelUp() overload

Source

fn level_up(self)

LevelUp() 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: IGodGrowSequence> IGodGrowSequenceMethods for __T

Available on crate feature app-godgrowsequence only.