feat: unfinished item drag and drop

This commit is contained in:
Alexey 2026-03-11 17:29:27 +03:00
commit 0add3e4c20
9 changed files with 191 additions and 15 deletions

View file

@ -3,7 +3,7 @@ use leafwing_input_manager::prelude::*;
use crate::{GameState, InputAction as Action, inventory::{ActiveInventory, Inventory, item::Item}};
#[derive(Component)]
#[derive(Component, Reflect)]
pub struct Player {
// px/s
speed: f32,