Skip to content
Snippets Groups Projects
Commit 7ce4aa09 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Player color visible on cooks hat

parent 01367f31
Branches
Tags
1 merge request!30Resolve "Item and Meal extension fish and chips, pizza; general class for cooking counter -> stove, deep fryer, oven on class"
Pipeline #44581 passed
overcooked_simulator/gui_2d_vis/images/pixel_cook_masked.png

1.88 KiB

......@@ -313,6 +313,14 @@ class PyGameGUI:
self.visualization_config["Cook"]["parts"][0]["size"]
* self.grid_size
)
pygame.draw.circle(
self.game_screen,
self.player_colors[p_idx],
pos - player.facing_direction * self.grid_size * 0.25,
self.grid_size * 0.25,
)
self.draw_image(img_path, size, pos, angle)
else:
......
......@@ -234,7 +234,7 @@ OnionSoupPlate:
Cook:
parts:
- type: image
path: images/pixel_cook.png
path: images/pixel_cook_masked.png
size: 1
Plate:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment