MCPcopy Create free account
hub / github.com/amethyst/rustrogueliketutorial / player

Function player

chapter-52-ui/src/spawner.rs:11–61  ·  view source on GitHub ↗

Spawns the player and returns his/her entity object.

(ecs : &mut World, player_x : i32, player_y : i32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

game_over_cleanupMethod · 0.70
mainFunction · 0.70

Calls 7

attr_bonusFunction · 0.70
player_hp_at_levelFunction · 0.70
mana_at_levelFunction · 0.70
newFunction · 0.50
spawn_named_entityFunction · 0.50
buildMethod · 0.45
withMethod · 0.45

Tested by

no test coverage detected