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

Function player

chapter-11-loadsave/src/spawner.rs:8–24  ·  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 1

mainFunction · 0.70

Calls 3

newFunction · 0.50
buildMethod · 0.45
withMethod · 0.45

Tested by

no test coverage detected