Turret tile basis

This commit is contained in:
2025-08-30 12:03:26 +08:00
parent 32f96d488d
commit 1c6c03cd41
12 changed files with 155 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public partial class PlacementManager : Node2D
[Export] public bool Enabled { get; set; } = true;
[Export] public StringName ToggleBuildAction { get; set; } = "toggle_build";
private static readonly List<string> BuildableTiles = ["wall", "miner"];
private static readonly List<string> BuildableTiles = ["wall", "miner", "turret"];
private readonly Dictionary<Node2D, BuildTask> _buildTasks = new();
private AudioStreamPlayer _completionSound;
private AudioStreamPlayer _buildingSound;