Remove some more imports
This commit is contained in:
parent
bdbc8df1c7
commit
ce9317f12f
@ -1,10 +1,9 @@
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::ops::DerefMut;
|
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
use godot::classes::{
|
use godot::classes::{
|
||||||
CanvasLayer, Engine, IPanel, InputEvent, Panel, RichTextLabel, ScrollContainer, TextEdit,
|
CanvasLayer, IPanel, InputEvent, Panel, RichTextLabel, ScrollContainer, TextEdit,
|
||||||
};
|
};
|
||||||
use godot::prelude::*;
|
use godot::prelude::*;
|
||||||
use godot::tools::get_autoload_by_name;
|
use godot::tools::get_autoload_by_name;
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
use godot::{
|
use godot::{
|
||||||
classes::{Button, IPanel, Label, OptionButton, Panel, TextEdit, VBoxContainer},
|
classes::{Button, IPanel, OptionButton, Panel, TextEdit, VBoxContainer},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
game_manager::{Game, GameManager},
|
game_manager::{Game, GameManager},
|
||||||
map_resource::MapResource,
|
|
||||||
net::network_manager::{NetworkManager, Package, PeerKind},
|
net::network_manager::{NetworkManager, Package, PeerKind},
|
||||||
ui::player_listing::PlayerListing,
|
ui::player_listing::PlayerListing,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,12 +1,9 @@
|
|||||||
use godot::{
|
use godot::{
|
||||||
classes::{GridContainer, IGridContainer, Label, Panel, TextEdit, VBoxContainer},
|
classes::{GridContainer, Label},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::game_manager::Game;
|
||||||
game_manager::{Game, Player},
|
|
||||||
net::network_manager::NetworkManager,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(GodotClass)]
|
#[derive(GodotClass)]
|
||||||
#[class(base=GridContainer, init)]
|
#[class(base=GridContainer, init)]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user