def __init__(self, x, y) -> None: super().__init__() self.m_MouseX = x self.m_MouseY = y self.m_EventClassType = EVENT_CLASS_TYPE(EventType.MouseMoved.value[0]) self.m_EventClassCategory = EventClassCategory( EventCategory.EventCategoryMouse.value[0] | EventCategory.EventCategoryInput.value[0])
def __init__(self, xOffset, yOffset) -> None: super().__init__() self.m_MouseXOffset = xOffset self.m_MouseYOffset = yOffset self.m_EventClassType = EVENT_CLASS_TYPE(EventType.MouseScrolled.value) self.m_EventClassCategory = EventClassCategory( EventCategory.EventCategoryMouse.value[0] | EventCategory.EventCategoryInput.value[0])
def __init__(self, button) -> None: super().__init__() self.m_Button = button categoryMouse = EventCategory.EventCategoryMouse.value[0] categoryInput = EventCategory.EventCategoryInput.value[0] categoryMouseButton = EventCategory.EventCategoryMouseButton.value self.m_EventClassCategory = EventClassCategory(categoryMouse | categoryInput | categoryMouseButton | categoryMouseButton)
def __init__(self, keyCode) -> None: super().__init__() self.m_keyCode = keyCode self.EventClassCategory = EventClassCategory( EventCategory.EventCategoryKeyboard.value[0] | EventCategory.EventCategoryInput.value[0])
def __init__(self) -> None: super().__init__() self.m_EventClassType = EVENT_CLASS_TYPE(EventType.AppRender) self.m_EventClassCategory = EventClassCategory( EventCategory.EventCategoryApplication)