pub trait IDieEventMethods: IDieEvent {
// Provided methods
fn ctor(self, unit: impl Into<Unit>, completed: impl Into<Action>) { ... }
fn is_skip_cancel(self) -> bool { ... }
fn on_create(self) { ... }
fn on_dispose(self) { ... }
fn die_talk(self) { ... }
fn god_talk(self) { ... }
fn event(self) { ... }
fn init_die_bgm(self) { ... }
fn wait_die_bgm_end(self) { ... }
fn play_die_bgm(self) { ... }
fn stop_die_bgm(self) { ... }
}Provided Methods§
Sourcefn ctor(self, unit: impl Into<Unit>, completed: impl Into<Action>)
fn ctor(self, unit: impl Into<Unit>, completed: impl Into<Action>)
.ctor(crate::app::unit::Unit, crate::system::action::Action) overload
Sourcefn is_skip_cancel(self) -> bool
fn is_skip_cancel(self) -> bool
IsSkipCancel() overload
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn init_die_bgm(self)
fn init_die_bgm(self)
InitDieBgm() overload
Sourcefn wait_die_bgm_end(self)
fn wait_die_bgm_end(self)
WaitDieBgmEnd() overload
Sourcefn play_die_bgm(self)
fn play_die_bgm(self)
PlayDieBgm() overload
Sourcefn stop_die_bgm(self)
fn stop_die_bgm(self)
StopDieBgm() 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: IDieEvent> IDieEventMethods for __T
Available on crate feature
app-dieevent only.