MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / has_moved

Method has_moved

src/input.rs:261–263  ·  view source on GitHub ↗
(&self, player: usize, axis: GamepadAxis)

Source from the content-addressed store, hash-verified

259 }
260
261 fn has_moved(&self, player: usize, axis: GamepadAxis) -> bool {
262 self.curr.get(&(player, axis)) != self.prev.get(&(player, axis))
263 }
264}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected