From 5146895cf537dd69867da612abed5b4abaf805cd Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 18 Sep 2025 12:06:59 -0300 Subject: ME ELIMINE AAAAAAAAAAAAAAAAAAAAAAAAAAAA --- scripts/Entities/Actions/ItemAction.cs | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'scripts/Entities/Actions/ItemAction.cs') 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() { -- cgit v1.2.3