chore: somethink minor
This commit is contained in:
@@ -48,12 +48,6 @@ impl<
|
||||
continue 'bindings_loop;
|
||||
}
|
||||
}
|
||||
BindingCondition::DuringPauseMenu(_value) => {
|
||||
todo!();
|
||||
}
|
||||
BindingCondition::ListeningForText(_value) => {
|
||||
todo!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +112,7 @@ impl<
|
||||
}
|
||||
}
|
||||
} 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
|
||||
#[cfg_attr(feature = "serialize", serde(bound(deserialize = "")))]
|
||||
InGameState(Gs),
|
||||
/// Binding is active only if player is in pause menu
|
||||
DuringPauseMenu(bool),
|
||||
/// Binding is active only if player types text
|
||||
ListeningForText(bool),
|
||||
// TODO: Custom condition that have a predicate that returns bool
|
||||
}
|
||||
|
||||
/// Binding is a combination of buttons that triggers action
|
||||
|
||||
Reference in New Issue
Block a user