Add debug lines for ship's wheel

- Green crosshair at wheel center
- Bounding box showing wheel dimensions
- Helps visualize wheel positioning

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2025-12-17 05:25:44 +01:00
parent 476198806d
commit 7e1a2de6aa

View File

@@ -252,6 +252,17 @@ export default class ShipDeckScene extends Phaser.Scene {
// Open the map scene
this.scene.start('MapScene', { inventory: this.inventory });
});
// Debug: Draw lines for wheel positioning
const debugLines = this.add.graphics();
debugLines.lineStyle(2, 0x00FF00, 0.8);
// Center crosshair
debugLines.lineBetween(550 - 50, 200, 550 + 50, 200); // Horizontal
debugLines.lineBetween(550, 200 - 50, 550, 200 + 50); // Vertical
// Bounding box (radius 40)
debugLines.strokeRect(550 - 40, 200 - 40, 80, 80);
}
createInventoryDisplay() {