Files
Chromacase/scorometer/chroma_case/Key.py
2024-01-18 01:21:03 +01:00

11 lines
257 B
Python

class Key:
def __init__(self, key: int, start: int, duration: int):
self.key = key
self.start = start
self.duration = duration
self.done = False
self.half_done = False
def __repr__(self):
return f"{self.key} ({self.start} - {self.duration})"