MCPcopy Create free account

hub / github.com/TanTanDev/macroquad_tantan_toolbox / functions

Functions49 in github.com/TanTanDev/macroquad_tantan_toolbox

↓ 4 callersMethodtake
(&mut self)
src/states.rs:77
↓ 3 callersMethoddraw
(&self, current_camera: &dyn Camera)
src/water.rs:137
↓ 3 callersMethoddraw_ex
( &mut self, base_texture: Texture2D, into_texture: Texture2D, progress: f32,
src/transition.rs:23
↓ 3 callersMethodon_enter
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:16
↓ 3 callersMethodupdate
(&mut self, dt: f32)
src/water.rs:133
↓ 2 callersMethodadd_animation
( &mut self, start_frame: i32, end_frame: i32, loop_frame: Option<i32>,
src/animation.rs:62
↓ 2 callersMethodget_or_panic
(&mut self, key: TextureIdentifier)
src/resources.rs:110
↓ 2 callersMethodon_draw
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:23
↓ 2 callersMethodon_exit
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:17
↓ 2 callersMethodplay_animation
(&mut self, identifier: A)
src/animation.rs:105
↓ 1 callersMethodbuild
( builder: &mut ResourceBuilder<TextureIdentifier, Self, Texture2D, DefaultFactory>, )
examples/states.rs:92
↓ 1 callersMethodchange_state
change state instantly without transition
src/states.rs:182
↓ 1 callersMethodchange_state_ex
change state with transition
src/states.rs:197
↓ 1 callersMethodchange_transition_tex
(&mut self, texture: Texture2D)
src/transition.rs:49
↓ 1 callersMethoddraw_ex
(&mut self, pos: Vec2, progress: f32, _draw_param: DrawParam)
src/progress_bar.rs:24
↓ 1 callersFunctiondraw_ui
(water: &mut Water)
examples/water.rs:106
↓ 1 callersMethodload_next
(&mut self)
src/resources.rs:82
↓ 1 callersMethodon_update
( &mut self, _delta_time: f32, _payload: &mut StateManagerPayload<SharedData>, )
examples/states.rs:12
↓ 1 callersMethodprogress
(&self)
src/states.rs:43
↓ 1 callersMethodtotal_time
(&self)
src/animation.rs:19
Methodbuild
(&mut self)
src/resources.rs:116
Methodchange_rendertarget
(mut camera: &mut Camera2D, target: RenderTarget)
src/states.rs:268
Methoddefault
()
src/states.rs:64
Methoddefault
()
src/transition.rs:8
Methoddefault
()
src/progress_bar.rs:6
Methoddefault
()
examples/states.rs:215
Methoddraw
call the current states, draw funciton
src/states.rs:274
Methoddraw
(&mut self, base_texture: Texture2D, into_texture: Texture2D, progress: f32)
src/transition.rs:19
Methoddraw
(&mut self, pos: Vec2, progress: f32)
src/progress_bar.rs:20
Methoddraw
(&self, pos: &Vec2, flip_x: bool)
src/animation.rs:125
Methodload_resource
(path: &str)
src/resources.rs:12
Functionmain
()
examples/water.rs:7
Functionmain
()
examples/transition_simple.rs:8
Functionmain
()
examples/states.rs:221
Functionmain
()
examples/animation.rs:13
Methodnew
(queued_resources: Vec<(TextureIdentifier, &'static str)>)
src/resources.rs:71
Methodnew
( ctx: &mut Context, tex_water_normal: Texture2D, tex_target: Texture2D, flip_
src/water.rs:38
Methodnew
( initial_state: Box<dyn State<T, S>>, rendertarget_size: RenderTargetSize, camera: Ca
src/states.rs:138
Methodnew
(transition_tex: Texture2D, fade: f32)
src/transition.rs:53
Methodnew
(texture: Texture2D, texture_border: Texture2D, inner_offset: Vec2)
src/progress_bar.rs:43
Methodnew
(columns: f32, rows: f32, texture: Texture2D, start_animation: A)
src/animation.rs:46
Methodnew
(into_state: Box<dyn State<TransitionData, SharedData>>)
examples/states.rs:73
Methodon_draw
(&mut self, _payload: StateManagerPayload<SharedData>)
examples/states.rs:26
Methodon_enter
(&mut self, _payload: StateManagerPayload<SharedData>)
examples/states.rs:132
Methodplay_animation_then
playe animation then the second one right after
src/animation.rs:115
Methodprogress
(&mut self)
src/resources.rs:102
Functiontest
(path: &str)
src/resources.rs:61
Methodupdate
updates the current state, might handle transitioning
src/states.rs:223
Methodupdate
(&mut self, dt: f32)
src/animation.rs:81