pub trait NetworkInputConfig<'a> {
type Dense: DenseInput + Debug + Default;
type Control: NetworkPlayerControl<Self::Dense>;
type PlayerControls: PlayerControls<'a, Self::Control> + HasSchema;
type InputCollector: InputCollector<'a, <Self::PlayerControls as PlayerControls<'a, Self::Control>>::ControlMapping, <Self::PlayerControls as PlayerControls<'a, Self::Control>>::ControlSource, Self::Control> + Default;
}Expand description
Define input types used by game for use in networking.
As long as types PlayerControls and InputCollector implement traits PlayerControls and InputCollector,
trait bounds NetworkPlayerControl and NetworkInputCollector are automatically implemented.