From bb3b2f8b3bdafbd8cdca1044f22be954c327dec8 Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Wed, 17 Dec 2025 04:12:49 +0100 Subject: [PATCH] Add border around ship deck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Draw 4px border outline around deck area - Uses dark brown color matching planks - Transparent fill to show planks underneath - Clearly defines deck boundaries 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/ShipDeckScene.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scenes/ShipDeckScene.js b/src/scenes/ShipDeckScene.js index d92403d..e1e4548 100644 --- a/src/scenes/ShipDeckScene.js +++ b/src/scenes/ShipDeckScene.js @@ -57,6 +57,12 @@ export default class ShipDeckScene extends Phaser.Scene { this.add.rectangle(this.deckCenterX, this.deckTopY + i * this.deckPlankSpacing, this.deckWidth, 25, 0x654321) .setStrokeStyle(2, 0x3d2817); } + + // Draw border around deck + const deckHeight = this.deckBottomY - this.deckTopY + 25; // +25 for last plank height + const deckBorder = this.add.rectangle(this.deckCenterX, this.deckTopY + (deckHeight / 2), this.deckWidth, deckHeight); + deckBorder.setStrokeStyle(4, 0x3d2817); + deckBorder.setFillStyle(0x000000, 0); // Transparent fill } createBarrels() {