podobi
This commit is contained in:
@@ -94,6 +94,11 @@ class BuildSystem {
|
||||
if (!this.buildings[buildingId]) return;
|
||||
this.selectedBuilding = buildingId;
|
||||
|
||||
// Play UI click sound
|
||||
if (this.scene.soundManager) {
|
||||
this.scene.soundManager.playUIClick();
|
||||
}
|
||||
|
||||
// Refresh preview
|
||||
if (this.buildMode) {
|
||||
this.destroyPreview();
|
||||
@@ -319,6 +324,11 @@ class BuildSystem {
|
||||
collision: building.collision
|
||||
});
|
||||
|
||||
// Play build sound
|
||||
if (this.scene.soundManager) {
|
||||
this.scene.soundManager.playBuild();
|
||||
}
|
||||
|
||||
console.log(`🏗️ Placed ${building.name} at (${gridX}, ${gridY})`);
|
||||
|
||||
// Update UI
|
||||
|
||||
Reference in New Issue
Block a user