Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DuyutongDockBlocks16/klotski_okehazama
/ functions
Functions
50 in github.com/DuyutongDockBlocks16/klotski_okehazama
⨍
Functions
50
◇
Types & classes
37
↓ 8 callers
Function
create_floor
(world: &mut World, position: Position)
src/temp.rs:153
↓ 5 callers
Function
draw_text
(canvas: &mut Canvas, text_string: &str, x: f32, y: f32)
src/rendering.rs:566
↓ 3 callers
Function
get_selected_block_id
()
src/rendering.rs:31
↓ 2 callers
Function
create_wall
ANCHOR: entities
src/temp.rs:143
↓ 2 callers
Method
display
(&self)
src/game.rs:231
↓ 2 callers
Method
draw
(&mut self, context: &mut Context)
src/game.rs:62
↓ 2 callers
Method
play_sound
(&mut self, context: &mut Context, sound: &str)
src/components.rs:132
↓ 2 callers
Function
set_selected_block_id
(id: String)
src/rendering.rs:26
↓ 1 callers
Method
add_block
(&mut self, new_block: Block)
src/board.rs:66
↓ 1 callers
Method
authorize_game_blocks_amount
(&self)
src/game.rs:276
↓ 1 callers
Method
authorize_game_blocks_location_conflict
(&self)
src/game.rs:283
↓ 1 callers
Method
authorize_game_exit_location
(&self)
src/game.rs:345
↓ 1 callers
Function
create_audio_store
(world: &mut World)
src/entity.rs:118
↓ 1 callers
Function
create_block
( world: &mut World, position: PositionDuringGame, block_id: &str, size: Option<&(u8, u8, bool
src/entity.rs:4
↓ 1 callers
Function
create_box
(world: &mut World, position: Position)
src/temp.rs:162
↓ 1 callers
Function
create_box_spot
(world: &mut World, position: Position)
src/temp.rs:173
↓ 1 callers
Function
create_event_queue
(world: &mut World)
src/entity.rs:114
↓ 1 callers
Function
create_exit
(world: &mut World, position: PositionDuringGame)
src/entity.rs:68
↓ 1 callers
Function
create_gameplay
(world: &mut World)
src/entity.rs:106
↓ 1 callers
Function
create_player
(world: &mut World, position: Position)
src/temp.rs:183
↓ 1 callers
Function
create_time
(world: &mut World)
src/entity.rs:110
↓ 1 callers
Method
draw
(&mut self, context: &mut Context)
src/temp.rs:131
↓ 1 callers
Function
get_image
(renderable: &Renderable, delta: Duration)
src/rendering.rs:578
↓ 1 callers
Method
initialize
(&mut self)
src/game.rs:365
↓ 1 callers
Function
initialize_box
()
src/main.rs:16
↓ 1 callers
Function
initialize_level
(board_with_blocks: &Board, world: &mut World, exit_side: &ExitSide)
src/game.rs:72
↓ 1 callers
Function
initialize_level
ANCHOR: init Initialize the level// Initialize the level
src/temp.rs:60
↓ 1 callers
Method
kind
(&self)
src/components.rs:74
↓ 1 callers
Function
load_map
(world: &mut World, map_string: String, block_dict: HashMap<String, (u8, u8, bool)>, exit_side: ExitSide )
src/game.rs:166
↓ 1 callers
Function
load_map
(world: &mut World, map_string: String)
src/temp.rs:76
↓ 1 callers
Function
move_block
todo
src/rendering.rs:92
↓ 1 callers
Method
path
(&self, path_index: usize)
src/components.rs:82
↓ 1 callers
Function
run_input
ANCHOR: input_system
src/temp.rs:227
↓ 1 callers
Function
run_rendering
ANCHOR: rendering_system
src/temp.rs:196
↓ 1 callers
Function
run_rendering
(world: &World, context: &mut Context)
src/rendering.rs:455
↓ 1 callers
Function
select_block
(world: &mut World, context: &mut Context)
src/rendering.rs:36
↓ 1 callers
Method
start
(self)
src/game.rs:448
Function
create_floor
(world: &mut World, position: PositionDuringGame)
src/entity.rs:96
Function
create_wall
(world: &mut World, position: PositionDuringGame)
src/entity.rs:82
Method
display
显示 Box 的信息
src/board.rs:37
Method
fmt
(&self, fmt: &mut fmt::Formatter)
src/components.rs:110
Function
main
()
src/main.rs:32
Function
main
ANCHOR: main
src/temp.rs:316
Method
new
创建新的 Box
src/board.rs:27
Method
new
(board_with_blocks: Board)
src/game.rs:221
Method
new_animated
(paths: Vec<&str>)
src/components.rs:68
Method
new_static
(path: &str)
src/components.rs:62
Function
run_process_events
(world: &mut World, context: &mut Context)
src/event_process.rs:8
Method
update
(&mut self, context: &mut Context)
src/game.rs:49
Method
update
(&mut self, context: &mut Context)
src/temp.rs:122