Game
Acts as the central core of the game and manages the core loop and gamestate.
Attributes
screen(pygame.Surface): The primary display Surface.is_running(bool): Boolean flag to control execution.clock(pygame.time.Clock): Controls framerate and handles deltatime.fps(int): Integer that controls how much FPS the Game should havegame_object_group(pygame.sprite.Group): Stores all GameObjects.game_speed_percentage(float): The speed percentage for execution, ranging from0to1.debug(bool): IfTrue, debug rendering will be enabled.target_scale(int): The target scale for the original window size.og_width(int): Original window width.extra_features(list[str]): List of extra features to add at runtime. You MUST set it during instantiation.camera(Camera): Camera object to use when rendering.