use crate::comp; #[derive(Clone, Debug, Serialize, Deserialize)] pub enum ClientMsg { Connect { player: comp::Player, character: Option, }, Ping, Pong, Chat(String), PlayerPhysics { pos: comp::phys::Pos, vel: comp::phys::Vel, dir: comp::phys::Dir, }, Disconnect, }