MCPcopy Create free account

hub / github.com/Piripant/skii / functions

Functions28 in github.com/Piripant/skii

↓ 10 callersMethodwidth
(&self)
src/game.rs:117
↓ 8 callersMethodheight
(&self)
src/game.rs:121
↓ 4 callersMethoddraw_text
Draws a text with the currently loaded font
src/renderer.rs:58
↓ 3 callersMethodget_screen_point
Returns a point from world space to screen space
src/renderer.rs:47
↓ 3 callersFunctionload_texture
(ctx: &mut Context, tex_name: &str)
src/loader.rs:91
↓ 2 callersMethodreset
(&mut self, width: u32, height: u32)
src/game.rs:108
↓ 1 callersMethodcollided
(&mut self)
src/game.rs:202
↓ 1 callersMethoddraw_alive_ui
Draws the screen ui for when the player is alive
src/renderer.rs:86
↓ 1 callersMethoddraw_dead_ui
Draws the screen ui for when the player is dead
src/renderer.rs:98
↓ 1 callersMethodgenerate_clear
(&mut self, width: u32, height: u32)
src/generation.rs:7
↓ 1 callersMethodgenerate_objects
(&mut self, height: usize)
src/generation.rs:58
↓ 1 callersMethodgenerate_row
(&mut self)
src/generation.rs:20
↓ 1 callersMethodget_close_tiles
Gets the neighbors tiles with a Moore neighborhood
src/game.rs:138
↓ 1 callersFunctionload_object
(json: &Value, ctx: &mut Context)
src/loader.rs:69
↓ 1 callersFunctionload_player
(json: &Value, ctx: &mut Context)
src/loader.rs:85
↓ 1 callersFunctionload_resources
(ctx: &mut Context)
src/loader.rs:11
↓ 1 callersFunctionload_tile
(json: &Value, ctx: &mut Context)
src/loader.rs:55
↓ 1 callersMethodobjects_in_radius
(&self, radius: f32, point: Vector2)
src/game.rs:125
↓ 1 callersMethodscroll
(&mut self, scrolling: u32)
src/game.rs:167
↓ 1 callersFunctionto_seconds
(elapsed: &Duration)
src/renderer.rs:253
Methoddraw
(&mut self, ctx: &mut Context)
src/renderer.rs:186
Methodkey_down_event
(&mut self, _ctx: &mut Context, keycode: Keycode, _keymod: Mod, repeat: bool)
src/renderer.rs:158
Methodkey_up_event
(&mut self, _ctx: &mut Context, keycode: Keycode, _keymod: Mod, repeat: bool)
src/renderer.rs:174
Functionmain
()
src/main.rs:10
Methodnew
(position: Vector2)
src/game.rs:21
Methodnew
(ctx: &mut Context)
src/renderer.rs:25
Methodupdate
(&mut self, under_tile: &TileType, dt: f32)
src/game.rs:46
Methodupdate
(&mut self, ctx: &mut Context)
src/renderer.rs:128