diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-18 12:06:59 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-18 12:06:59 -0300 |
| commit | 5146895cf537dd69867da612abed5b4abaf805cd (patch) | |
| tree | 70212352a07922b58db99ba2564f76ca072af200 /scripts/Entities/Actions/ItemAction.cs | |
| parent | eacdd15612c70ff86f3446982c46a09272249936 (diff) | |
ME ELIMINE AAAAAAAAAAAAAAAAAAAAAAAAAAAA
Diffstat (limited to 'scripts/Entities/Actions/ItemAction.cs')
| -rw-r--r-- | scripts/Entities/Actions/ItemAction.cs | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/scripts/Entities/Actions/ItemAction.cs b/scripts/Entities/Actions/ItemAction.cs index 14c5d93..a2ca1a2 100644 --- a/scripts/Entities/Actions/ItemAction.cs +++ b/scripts/Entities/Actions/ItemAction.cs @@ -5,32 +5,15 @@ namespace TheLegendOfGustav.Entities.Actions; public partial class ItemAction : Action { - private ConsumableItem item; - private Player player; + protected ConsumableItem item; public ItemAction(Player player, ConsumableItem item) : base(player) { - Item = item; + this.item = item; Player = player; } - public Player Player - { - get => player; - private set - { - player = value; - } - } - - protected ConsumableItem Item - { - get => item; - set - { - item = value; - } - } + public Player Player { get; private set; } public override bool Perform() { |
