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

Debug print and soup viz (unused)

parent 09eeb889
No related branches found
No related tags found
1 merge request!1340-visualisierungsregeln
Pipeline #41964 failed
......@@ -84,6 +84,8 @@ class Player:
returned_by_counter = counter.pick_up(on_hands=False)
self.holding.combine(returned_by_counter)
print("Self:", self.holding, "Counter:", counter.occupied_by)
def perform_interact_hold_start(self, counter: Counter):
"""Starts an interaction with the counter. Should be called for a
keydown event, for holding down a key on the keyboard.
......
......@@ -111,6 +111,24 @@ ChoppedTomato:
path: "images/tomato_cut.png"
size: 40
TomatoSoup1of3:
parts:
- type: "circle"
radius: 4
color: [ 255, 0, 0 ]
TomatoSoup2of3:
parts:
- type: "circle"
radius: 8
color: [ 255, 0, 0 ]
TomatoSoup3of3:
parts:
- type: "circle"
radius: 12
color: [ 255, 0, 0 ]
CookedSoup:
parts:
- type: "image"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment