Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Piripant/skii
/ functions
Functions
28 in github.com/Piripant/skii
⨍
Functions
28
◇
Types & classes
7
↓ 10 callers
Method
width
(&self)
src/game.rs:117
↓ 8 callers
Method
height
(&self)
src/game.rs:121
↓ 4 callers
Method
draw_text
Draws a text with the currently loaded font
src/renderer.rs:58
↓ 3 callers
Method
get_screen_point
Returns a point from world space to screen space
src/renderer.rs:47
↓ 3 callers
Function
load_texture
(ctx: &mut Context, tex_name: &str)
src/loader.rs:91
↓ 2 callers
Method
reset
(&mut self, width: u32, height: u32)
src/game.rs:108
↓ 1 callers
Method
collided
(&mut self)
src/game.rs:202
↓ 1 callers
Method
draw_alive_ui
Draws the screen ui for when the player is alive
src/renderer.rs:86
↓ 1 callers
Method
draw_dead_ui
Draws the screen ui for when the player is dead
src/renderer.rs:98
↓ 1 callers
Method
generate_clear
(&mut self, width: u32, height: u32)
src/generation.rs:7
↓ 1 callers
Method
generate_objects
(&mut self, height: usize)
src/generation.rs:58
↓ 1 callers
Method
generate_row
(&mut self)
src/generation.rs:20
↓ 1 callers
Method
get_close_tiles
Gets the neighbors tiles with a Moore neighborhood
src/game.rs:138
↓ 1 callers
Function
load_object
(json: &Value, ctx: &mut Context)
src/loader.rs:69
↓ 1 callers
Function
load_player
(json: &Value, ctx: &mut Context)
src/loader.rs:85
↓ 1 callers
Function
load_resources
(ctx: &mut Context)
src/loader.rs:11
↓ 1 callers
Function
load_tile
(json: &Value, ctx: &mut Context)
src/loader.rs:55
↓ 1 callers
Method
objects_in_radius
(&self, radius: f32, point: Vector2)
src/game.rs:125
↓ 1 callers
Method
scroll
(&mut self, scrolling: u32)
src/game.rs:167
↓ 1 callers
Function
to_seconds
(elapsed: &Duration)
src/renderer.rs:253
Method
draw
(&mut self, ctx: &mut Context)
src/renderer.rs:186
Method
key_down_event
(&mut self, _ctx: &mut Context, keycode: Keycode, _keymod: Mod, repeat: bool)
src/renderer.rs:158
Method
key_up_event
(&mut self, _ctx: &mut Context, keycode: Keycode, _keymod: Mod, repeat: bool)
src/renderer.rs:174
Function
main
()
src/main.rs:10
Method
new
(position: Vector2)
src/game.rs:21
Method
new
(ctx: &mut Context)
src/renderer.rs:25
Method
update
(&mut self, under_tile: &TileType, dt: f32)
src/game.rs:46
Method
update
(&mut self, ctx: &mut Context)
src/renderer.rs:128