MCPcopy Create free account
hub / github.com/17cupsofcoffee/rl / Movement

Class Movement

src/components.rs:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34pub struct Movement {
35 pub player_input: bool,
36 pub energy: i32,
37 pub speed: i32,
38 pub move_queue: VecDeque<MoveAction>,
39}
40
41impl Movement {
42 pub fn new(player_input: bool, energy: i32, speed: i32) -> Movement {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected