From 5c265ada0d1ec531fa97ad132b87c99cb9e81b1a Mon Sep 17 00:00:00 2001 From: Matheus Date: Sat, 16 Aug 2025 17:49:02 -0300 Subject: Remoção de prints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/TurnManager.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scripts/TurnManager.cs') diff --git a/scripts/TurnManager.cs b/scripts/TurnManager.cs index ffb2659..ea9050e 100644 --- a/scripts/TurnManager.cs +++ b/scripts/TurnManager.cs @@ -17,20 +17,15 @@ public partial class TurnManager : Node { public void Tick() { EmitSignal(SignalName.turnBegin); - GD.Print("Turn: " + TurnCount); - actors.Clear(); actors = GetTree().GetNodesInGroup("TimeSlave"); - GD.Print("Actor count: " + actors.Count); - index = -1; NextActor(); } private void NextActor() { index++; - GD.Print("Index: " + index); if (index >= actors.Count) { EndTurn(); return; @@ -43,7 +38,7 @@ public partial class TurnManager : Node { private void ActorPerformAction() { Actor currentActor = (Actor) actors[index]; if (currentActor.Energy > 0) { - currentActor.performAction(); + currentActor.PerformAction(); } else { NextActor(); } @@ -54,7 +49,6 @@ public partial class TurnManager : Node { } private void EndTurn() { - GD.Print("Turn End"); TurnCount++; EmitSignal(SignalName.turnEnd); } -- cgit v1.2.3