| 1234567891011121314 |
- import pygame
- from client_local.ui.ui import UIInstance
- class GameTop(UIInstance):
- def __init__(self):
- super().__init__("game", "gameTop")
- self.font = pygame.font.Font("res/font/simsun.ttc", 16)
- self.rend = self.font.render("v20250707", True, (0, 196, 255))
- def draw(self, screen: pygame.Surface):
- super().draw(screen)
- screen.blit(self.rend, (0, 0))
|