chore: somethink minor
This commit is contained in:
@@ -48,12 +48,6 @@ impl<
|
|||||||
continue 'bindings_loop;
|
continue 'bindings_loop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BindingCondition::DuringPauseMenu(_value) => {
|
|
||||||
todo!();
|
|
||||||
}
|
|
||||||
BindingCondition::ListeningForText(_value) => {
|
|
||||||
todo!();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -118,7 +112,7 @@ impl<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log::error!("You like [`Player`] is not in lobby")
|
log::error!("cannot find me in inputs container")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -272,10 +272,7 @@ common_traits_conditions! {
|
|||||||
/// During specific game state
|
/// During specific game state
|
||||||
#[cfg_attr(feature = "serialize", serde(bound(deserialize = "")))]
|
#[cfg_attr(feature = "serialize", serde(bound(deserialize = "")))]
|
||||||
InGameState(Gs),
|
InGameState(Gs),
|
||||||
/// Binding is active only if player is in pause menu
|
// TODO: Custom condition that have a predicate that returns bool
|
||||||
DuringPauseMenu(bool),
|
|
||||||
/// Binding is active only if player types text
|
|
||||||
ListeningForText(bool),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Binding is a combination of buttons that triggers action
|
/// Binding is a combination of buttons that triggers action
|
||||||
|
|||||||
Reference in New Issue
Block a user