Skip to main content

IMapAction_ProcRouteMoveMethods

Trait IMapAction_ProcRouteMoveMethods 

Source
pub trait IMapAction_ProcRouteMoveMethods: IMapAction_ProcRouteMove {
    // Provided methods
    fn ctor(
        self,
        actor: impl Into<UnitActor>,
        routes: impl Into<Array<Dir_Type>>,
        from_x: impl Into<i32>,
        from_z: impl Into<i32>,
        move_flag: impl Into<MapMoveFlag>,
    ) { ... }
    fn on_create(self) { ... }
    fn on_dispose(self) { ... }
    fn on_tick(self) { ... }
    fn get_time_scale(self) -> i32 { ... }
    fn is_pass(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        routes: impl Into<Array<Dir_Type>>,
    ) -> bool { ... }
    fn is_stay(self) -> bool { ... }
    fn init_route(self, routes: impl Into<Array<Dir_Type>>) { ... }
    fn init_position(self) { ... }
    fn calc_position(self) -> bool { ... }
    fn move_route(self, speed: impl Into<f32>) -> MapAction_ProcRouteMove_Result { ... }
}

Provided Methods§

Source

fn ctor( self, actor: impl Into<UnitActor>, routes: impl Into<Array<Dir_Type>>, from_x: impl Into<i32>, from_z: impl Into<i32>, move_flag: impl Into<MapMoveFlag>, )

.ctor(crate::app::unitactor::UnitActor, ::unity::Array<crate::app::dir_2::Dir_Type>, i32, i32, crate::app::mapmoveflag::MapMoveFlag) overload

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn on_tick(self)

OnTick() overload

Source

fn get_time_scale(self) -> i32

GetTimeScale() overload

Source

fn is_pass( self, x: impl Into<i32>, z: impl Into<i32>, routes: impl Into<Array<Dir_Type>>, ) -> bool

IsPass(i32, i32, ::unity::Array<crate::app::dir_2::Dir_Type>) overload

Source

fn is_stay(self) -> bool

IsStay() overload

Source

fn init_route(self, routes: impl Into<Array<Dir_Type>>)

InitRoute(::unity::Array<crate::app::dir_2::Dir_Type>) overload

Source

fn init_position(self)

InitPosition() overload

Source

fn calc_position(self) -> bool

CalcPosition() overload

Source

fn move_route(self, speed: impl Into<f32>) -> MapAction_ProcRouteMove_Result

MoveRoute(f32) 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: IMapAction_ProcRouteMove> IMapAction_ProcRouteMoveMethods for __T

Available on crate feature app-mapaction only.