From 240156765d88db25dd092fc320005cdb5f28d7a7 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 17 Aug 2025 21:45:07 -0300 Subject: Refactor no sistema de ações MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Game.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/Game.cs') diff --git a/scripts/Game.cs b/scripts/Game.cs index 21531fc..067f4a4 100644 --- a/scripts/Game.cs +++ b/scripts/Game.cs @@ -19,10 +19,10 @@ public partial class Game : Node { public override void _PhysicsProcess(double delta) { base._PhysicsProcess(delta); - Action action = inputHandler.GetAction(); + Action action = inputHandler.GetAction(player); if (action != null) { - action.Perform(this, player); + action.Perform(); HandleEnemyTurns(); } } -- cgit v1.2.3