Skip to main content

IBattleDestoryMethods

Trait IBattleDestoryMethods 

Source
pub trait IBattleDestoryMethods: IBattleDestory {
    // Provided methods
    fn entry(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
    fn clear(self) { ... }
    fn get_exist(self) -> bool { ... }
    fn get_hp(self) -> i32 { ... }
    fn set_hp(self, value: impl Into<i32>) { ... }
    fn get_max_hp(self) -> i32 { ... }
    fn get_x(self) -> i32 { ... }
    fn get_z(self) -> i32 { ... }
    fn play_damage(self, hp: impl Into<i32>) { ... }
    fn commit(self, hp: impl Into<i32>) { ... }
    fn update(self, super_: impl Into<ProcInst>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn entry(self, x: impl Into<i32>, z: impl Into<i32>)

Entry(i32, i32) overload

Source

fn clear(self)

Clear() overload

Source

fn get_exist(self) -> bool

get_Exist() overload

Source

fn get_hp(self) -> i32

get_Hp() overload

Source

fn set_hp(self, value: impl Into<i32>)

set_Hp(i32) overload

Source

fn get_max_hp(self) -> i32

get_MaxHp() overload

Source

fn get_x(self) -> i32

get_X() overload

Source

fn get_z(self) -> i32

get_Z() overload

Source

fn play_damage(self, hp: impl Into<i32>)

PlayDamage(i32) overload

Source

fn commit(self, hp: impl Into<i32>)

Commit(i32) overload

Source

fn update(self, super_: impl Into<ProcInst>)

Update(crate::app::procinst::ProcInst) 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: IBattleDestory> IBattleDestoryMethods for __T

Available on crate feature app-battledestory only.