Switch leafwing-input-manager forks.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
526f4347a5
commit
c2b2694866
|
@ -33,7 +33,7 @@ coord_2d = "0.3"
|
|||
futures-lite = "1"
|
||||
gilrs = "0.10"
|
||||
here_be_dragons = "0.2"
|
||||
leafwing-input-manager = "0.8"
|
||||
leafwing-input-manager = { git = "https://github.com/ndarilek/leafwing-input-manager" }
|
||||
maze_generator = "2"
|
||||
once_cell = "1"
|
||||
pathfinding = "4"
|
||||
|
|
|
@ -23,7 +23,9 @@ use crate::{
|
|||
pub struct NegotiatePathAction;
|
||||
|
||||
impl Actionlike for NegotiatePathAction {
|
||||
const N_VARIANTS: usize = 1;
|
||||
fn n_variants() -> usize {
|
||||
1
|
||||
}
|
||||
|
||||
fn get_at(index: usize) -> Option<Self> {
|
||||
if index == 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user