Remove some more imports

This commit is contained in:
Sofia 2026-07-21 01:13:17 +03:00
parent bdbc8df1c7
commit ce9317f12f
3 changed files with 4 additions and 9 deletions

View File

@ -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;

View File

@ -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,
};

View File

@ -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)]