Switch leafwing-input-manager forks.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2023-02-01 14:08:06 -06:00
parent 526f4347a5
commit c2b2694866
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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 {