Skip to main content

IFSMMethods

Trait IFSMMethods 

Source
pub trait IFSMMethods: IFSM {
    // Provided methods
    fn get_current_state(self) -> State { ... }
    fn ctor(self) { ... }
    fn finalize(self) { ... }
    fn dispose(self) { ... }
    fn update(self) { ... }
    fn late_update(self) { ... }
    fn update_core(self, update_func: impl Into<Action_1<State>>) { ... }
    fn add(self, state: impl Into<State>) { ... }
    fn add_first(self, state: impl Into<State>) { ... }
    fn clear(self) { ... }
    fn get_debugger_display(self) -> Il2CppString { ... }
    fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_current_state(self) -> State

get_CurrentState() overload

Source

fn ctor(self)

.ctor() overload

Source

fn finalize(self)

Finalize() overload

Source

fn dispose(self)

Dispose() overload

Source

fn update(self)

Update() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn update_core(self, update_func: impl Into<Action_1<State>>)

UpdateCore(crate::system::action_1::Action_1<crate::combat::state::State>) overload

Source

fn add(self, state: impl Into<State>)

Add(crate::combat::state::State) overload

Source

fn add_first(self, state: impl Into<State>)

AddFirst(crate::combat::state::State) overload

Source

fn clear(self)

Clear() overload

Source

fn get_debugger_display(self) -> Il2CppString

get_DebuggerDisplay() overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IFSM> IFSMMethods for __T

Available on crate feature combat-fsm only.