generated from 2ndbeam/bevy-template
feat: unfinished item drag and drop
This commit is contained in:
parent
c46fa75e54
commit
0add3e4c20
9 changed files with 191 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue