diff options
Diffstat (limited to 'dungeon/src/player_input.rs')
| -rw-r--r-- | dungeon/src/player_input.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dungeon/src/player_input.rs b/dungeon/src/player_input.rs index ddaad9f..7fe85c3 100644 --- a/dungeon/src/player_input.rs +++ b/dungeon/src/player_input.rs @@ -15,5 +15,12 @@ pub struct PlayerInput { /// If the player is currently attempting to interact /// with some object, entity, etc. pub interact: bool, - // other player actions are to be added later + /// If the player wants to use an item + pub use_item: bool, + /// If the player is currently attempting to attack + pub attack: bool, + /// If the player is attempting to drop an item + pub drop: bool, + /// If the player is attempting to switch the active inv slot + pub inv_slot: Option<usize>, } |