Newer
Older
import numpy as np
class Counter:
"""Simple class for a counter at a specified position (center of counter). Can hold things on top."""
def __init__(self, pos: np.array):
self.pos = pos
self.occupied_by = None
def __repr__(self):
return f"Counter(pos:{str(self.pos)},holds:{self.occupied_by})"