aboutsummaryrefslogtreecommitdiff
path: root/server/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/lib.rs')
-rw-r--r--server/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/lib.rs b/server/src/lib.rs
index 2cbcc10b..c8f7af8c 100644
--- a/server/src/lib.rs
+++ b/server/src/lib.rs
@@ -25,6 +25,9 @@ pub mod state;
use hurrycurry_protocol::glam::Vec2;
+#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
+pub struct ConnectionID(pub i64);
+
pub trait InterpolateExt {
fn exp_to(&mut self, target: Self, dt: f32);
}