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§
Sourcefn get_max_hp(self) -> i32
fn get_max_hp(self) -> i32
get_MaxHp() overload
Sourcefn play_damage(self, hp: impl Into<i32>)
fn play_damage(self, hp: impl Into<i32>)
PlayDamage(i32) 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§
impl<__T: IBattleDestory> IBattleDestoryMethods for __T
Available on crate feature
app-battledestory only.