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§
Sourcefn 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 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
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn get_time_scale(self) -> i32
fn get_time_scale(self) -> i32
GetTimeScale() overload
Sourcefn is_pass(
self,
x: impl Into<i32>,
z: impl Into<i32>,
routes: impl Into<Array<Dir_Type>>,
) -> bool
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
Sourcefn init_route(self, routes: impl Into<Array<Dir_Type>>)
fn init_route(self, routes: impl Into<Array<Dir_Type>>)
InitRoute(::unity::Array<crate::app::dir_2::Dir_Type>) overload
Sourcefn init_position(self)
fn init_position(self)
InitPosition() overload
Sourcefn calc_position(self) -> bool
fn calc_position(self) -> bool
CalcPosition() overload
Sourcefn move_route(self, speed: impl Into<f32>) -> MapAction_ProcRouteMove_Result
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§
impl<__T: IMapAction_ProcRouteMove> IMapAction_ProcRouteMoveMethods for __T
Available on crate feature
app-mapaction only.