diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-11 01:51:20 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-11 01:51:20 +0200 |
commit | 7c4b3182755d100a3b513bdeb38aeb6ab31bd63d (patch) | |
tree | fe071f9518c5508c57d9d5bc9966f11fcb2a01bf /server | |
parent | 218da36b4f963a5dfcd619d543cb95c5c196d214 (diff) | |
download | hurrycurry-7c4b3182755d100a3b513bdeb38aeb6ab31bd63d.tar hurrycurry-7c4b3182755d100a3b513bdeb38aeb6ab31bd63d.tar.bz2 hurrycurry-7c4b3182755d100a3b513bdeb38aeb6ab31bd63d.tar.zst |
pc: improve movement of others
Diffstat (limited to 'server')
-rw-r--r-- | server/bot/src/main.rs | 3 | ||||
-rw-r--r-- | server/client-lib/src/network/mod.rs | 17 |
2 files changed, 18 insertions, 2 deletions
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs index 61cef1f9..18c4617a 100644 --- a/server/bot/src/main.rs +++ b/server/bot/src/main.rs @@ -16,11 +16,10 @@ */ -use std::{thread::sleep, time::Duration}; - use anyhow::Result; use hurrycurry_client_lib::{network::sync::Network, Game}; use hurrycurry_protocol::{glam::Vec2, PacketC, PacketS, PlayerID}; +use std::{thread::sleep, time::Duration}; fn main() -> Result<()> { let mut network = Network::connect("ws://127.0.0.1")?; diff --git a/server/client-lib/src/network/mod.rs b/server/client-lib/src/network/mod.rs index fa570170..9423f645 100644 --- a/server/client-lib/src/network/mod.rs +++ b/server/client-lib/src/network/mod.rs @@ -1,3 +1,20 @@ +/* + Hurry Curry! - a game about cooking + Copyright 2024 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + +*/ #[cfg(feature = "sync-network")] pub mod sync; #[cfg(feature = "tokio-network")] |