mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
15 lines
236 B
Rust
15 lines
236 B
Rust
use vek::*;
|
|
|
|
pub struct Input {
|
|
// TODO: Use this type to manage client input
|
|
pub move_dir: Vec2<f32>,
|
|
}
|
|
|
|
impl Default for Input {
|
|
fn default() -> Self {
|
|
Input {
|
|
move_dir: Vec2::zero(),
|
|
}
|
|
}
|
|
}
|