Vertex Docs

BaseWindow

Description: BaseWindow is the foundational window class in VertexEngine. All window types inherit from this class, providing shared functionality such as rendering, event handling, and lifecycle control. Developers can extend this class to create custom windows with specialized behavior.

Purpose

Example: Inheritance

from VertexEngine.window import BaseWindow

class GameWindow(BaseWindow):
    def __init__(self):
        super().__init__()
        # Custom setup here

    def update(self, dt):
        pass

    def draw(self, surface):
        pass

Returns

An instance of a Base Window or a subclass derived from it.

Notes