Skip to content

Commit 088ef25

Browse files
committed
[style] prefix all debug-related properties in Pathfinder2D with 'debug'
1 parent 309b6de commit 088ef25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pathfinding/pathfinder2d.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ signal map_changed()
1717

1818
@export_group("Debug")
1919
@export var debug_enabled : bool = false
20-
@export var path_line_color := Color.RED
21-
@export var path_line_width : float = 1.0
20+
@export var debug_path_line_color := Color.RED
21+
@export var debug_path_line_width : float = 1.0
2222

2323

2424
var pathfinding_map : PathfindingMap :
@@ -56,7 +56,7 @@ var __debugger : PathfindingDebugger
5656

5757
func _ready() -> void:
5858
if debug_enabled:
59-
__debugger = PathfindingDebugger.new(path_line_color, path_line_width)
59+
__debugger = PathfindingDebugger.new(debug_path_line_color, debug_path_line_width)
6060
add_child(__debugger)
6161
return
6262

0 commit comments

Comments
 (0)