From 53189e3fd8634be2f673bdab581e6196d4077c851e6cd6c4735f0c2b6ae07e05 Mon Sep 17 00:00:00 2001 From: andrea Date: Mon, 28 Jul 2025 22:39:17 +0200 Subject: [PATCH] outline cell on the image map to make is more clear --- entities/gamemap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entities/gamemap.py b/entities/gamemap.py index 2f0b49c..ff97872 100644 --- a/entities/gamemap.py +++ b/entities/gamemap.py @@ -105,6 +105,7 @@ class BrSimMap(): final_y= self.world_height * scale_y image = _Image.new('RGB', (final_x, final_y)) draw = _ImageDraw.Draw(image) + outline= '#000000' for y in range(self.world_height): for x in range(self.world_width): @@ -135,7 +136,7 @@ class BrSimMap(): scaled_y_height= (y + 1) * scale_y draw.rectangle([scaled_x_coord, scaled_y_coord, scaled_x_width, scaled_y_height], - fill= pixel_color + fill= pixel_color, outline= outline ) # debug