def add(self, event_name: int, static: bool=False) -> None:
    if static:
        self.static_events.append(event_name)
    self.events.append(event_name)
def add(self, event_name: int, static: bool=False) -> None:
    if static:
        self.static_events.append(event_name)
    self.events.append(event_name)