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/InputHandling/InspectInputHandler.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts/InputHandling/InspectInputHandler.cs') diff --git a/scripts/InputHandling/InspectInputHandler.cs b/scripts/InputHandling/InspectInputHandler.cs index 90734f9..6e13c2f 100644 --- a/scripts/InputHandling/InspectInputHandler.cs +++ b/scripts/InputHandling/InspectInputHandler.cs @@ -10,7 +10,7 @@ namespace TheLegendOfGustav.InputHandling; /// public partial class InspectInputHandler : BaseInputHandler { - private static readonly PackedScene InspectorScene = GD.Load("res://scenes/Inspector.tscn"); + private static readonly PackedScene inspectorScene = GD.Load("res://scenes/Inspector.tscn"); private static readonly Godot.Collections.Dictionary directions = new() { @@ -28,23 +28,23 @@ public partial class InspectInputHandler : BaseInputHandler /// Preciso disso /// [Export] - private Map.Map Map { get; set; } + private Map.Map map; - private Inspector Inspector { get; set; } + private Inspector inspector; public override void Enter() { SignalBus.Instance.EmitSignal(SignalBus.SignalName.EnterInspectionMode); - Inspector = InspectorScene.Instantiate(); + inspector = inspectorScene.Instantiate(); - Inspector.GridPosition = Map.MapData.Player.GridPosition; + inspector.GridPosition = map.MapData.Player.GridPosition; - Map.AddChild(Inspector); + map.AddChild(inspector); } public override void Exit() { - Inspector.QueueFree(); + inspector.QueueFree(); SignalBus.Instance.EmitSignal(SignalBus.SignalName.ExitInspectionMode); } @@ -56,7 +56,7 @@ public partial class InspectInputHandler : BaseInputHandler { if (Input.IsActionJustPressed(direction.Key)) { - Inspector.Walk(direction.Value); + inspector.Walk(direction.Value); } } -- cgit v1.2.3