diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-11 00:22:49 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-11 00:30:43 +0200 |
commit | f4499b7a0e808d84157e6148afef4f844a7007cf (patch) | |
tree | 354d970af16a4b3d6217575d259cf1afc0faf291 /pixel-client/src/main.rs | |
parent | 0f6a824cb4c6d36dda485a939d9c640ec234d802 (diff) | |
download | hurrycurry-f4499b7a0e808d84157e6148afef4f844a7007cf.tar hurrycurry-f4499b7a0e808d84157e6148afef4f844a7007cf.tar.bz2 hurrycurry-f4499b7a0e808d84157e6148afef4f844a7007cf.tar.zst |
factor out client network code to client-lib
Diffstat (limited to 'pixel-client/src/main.rs')
-rw-r--r-- | pixel-client/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs index 963d3fc4..64a6f34f 100644 --- a/pixel-client/src/main.rs +++ b/pixel-client/src/main.rs @@ -18,9 +18,9 @@ #![feature(map_many_mut)] use clap::{Parser, Subcommand}; use game::Game; +use hurrycurry_client_lib::network::sync::Network; use hurrycurry_protocol::glam::Vec2; use menu::main::MainMenu; -use network::Network; use profiler::ProfilerOverlay; use render::Renderer; use sdl2::{event::Event, keyboard::KeyboardState, mouse::MouseState, pixels::Color}; @@ -29,7 +29,6 @@ use std::time::{Duration, Instant}; pub mod game; pub mod helper; pub mod menu; -pub mod network; pub mod profiler; pub mod render; pub mod tilemap; |