This commit is contained in:
Lucas Farias 2025-06-21 16:25:47 -03:00
parent 9587cbd39b
commit d51911be91

View File

@ -42,8 +42,7 @@ use bevy::{
time::Time, time::Time,
transform::components::Transform, transform::components::Transform,
ui::{ ui::{
widget::ImageNode, BackgroundColor, Display, FlexDirection, Node, PositionType, UiRect, widget::ImageNode, BackgroundColor, FlexDirection, Node, PositionType, UiRect, Val, ZIndex,
Val, ZIndex,
}, },
DefaultPlugins, DefaultPlugins,
}; };
@ -105,6 +104,7 @@ enum GameState {
enum SelectionMenu { enum SelectionMenu {
#[default] #[default]
Single, Single,
#[expect(dead_code, reason = "TODO")]
Stacked, Stacked,
} }
@ -154,6 +154,7 @@ struct Item {
/// Unique item id /// Unique item id
#[derive(Debug, Clone, Component)] #[derive(Debug, Clone, Component)]
#[expect(dead_code, reason = "Will be used on sorting later")]
struct ItemId(u8); struct ItemId(u8);
/// The category that the item belongs to /// The category that the item belongs to
@ -227,7 +228,7 @@ mod single {
state::{ state::{
app::AppExtStates, app::AppExtStates,
condition::in_state, condition::in_state,
state::{ComputedStates, OnEnter, OnExit, States}, state::{ComputedStates, OnEnter, OnExit},
}, },
text::{TextColor, TextFont}, text::{TextColor, TextFont},
time::Time, time::Time,