diff --git a/rust/src/ui/cli.rs b/rust/src/ui/cli.rs index 236f320..bd34c64 100644 --- a/rust/src/ui/cli.rs +++ b/rust/src/ui/cli.rs @@ -1,10 +1,9 @@ use std::collections::HashMap; use std::net::SocketAddr; -use std::ops::DerefMut; use std::rc::Rc; use godot::classes::{ - CanvasLayer, Engine, IPanel, InputEvent, Panel, RichTextLabel, ScrollContainer, TextEdit, + CanvasLayer, IPanel, InputEvent, Panel, RichTextLabel, ScrollContainer, TextEdit, }; use godot::prelude::*; use godot::tools::get_autoload_by_name; diff --git a/rust/src/ui/lobby.rs b/rust/src/ui/lobby.rs index 3e28380..179d7cc 100644 --- a/rust/src/ui/lobby.rs +++ b/rust/src/ui/lobby.rs @@ -1,11 +1,10 @@ use godot::{ - classes::{Button, IPanel, Label, OptionButton, Panel, TextEdit, VBoxContainer}, + classes::{Button, IPanel, OptionButton, Panel, TextEdit, VBoxContainer}, prelude::*, }; use crate::{ game_manager::{Game, GameManager}, - map_resource::MapResource, net::network_manager::{NetworkManager, Package, PeerKind}, ui::player_listing::PlayerListing, }; diff --git a/rust/src/ui/player_listing.rs b/rust/src/ui/player_listing.rs index a33428d..398ef4d 100644 --- a/rust/src/ui/player_listing.rs +++ b/rust/src/ui/player_listing.rs @@ -1,12 +1,9 @@ use godot::{ - classes::{GridContainer, IGridContainer, Label, Panel, TextEdit, VBoxContainer}, + classes::{GridContainer, Label}, prelude::*, }; -use crate::{ - game_manager::{Game, Player}, - net::network_manager::NetworkManager, -}; +use crate::game_manager::Game; #[derive(GodotClass)] #[class(base=GridContainer, init)]