Trait bones_framework::networking::input::NetworkPlayerControl
source · pub trait NetworkPlayerControl<Dense: DenseInput>: Send + Sync + Default {
// Required methods
fn get_dense_input(&self) -> Dense;
fn update_from_dense(&mut self, new_control: &Dense);
}
Expand description
Trait allowing for creating and applying DenseInput
from control.
Required Methods§
sourcefn get_dense_input(&self) -> Dense
fn get_dense_input(&self) -> Dense
Get DenseInput
for control.
sourcefn update_from_dense(&mut self, new_control: &Dense)
fn update_from_dense(&mut self, new_control: &Dense)
Update control from DenseInput
.
Object Safety§
This trait is not object safe.