Remove some more imports
This commit is contained in:
parent
bdbc8df1c7
commit
ce9317f12f
@ -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;
|
||||
|
||||
@ -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,
|
||||
};
|
||||
|
||||
@ -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)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user