refactor: fix formatting and set game window title to "Silent FH"
This commit is contained in:
@@ -46,6 +46,7 @@ class Game:
|
|||||||
pygame.init()
|
pygame.init()
|
||||||
self.screen = pygame.display.set_mode((screen_w, screen_h))
|
self.screen = pygame.display.set_mode((screen_w, screen_h))
|
||||||
self.clock = pygame.time.Clock()
|
self.clock = pygame.time.Clock()
|
||||||
|
pygame.display.set_caption("Silent FH")
|
||||||
self.font = pygame.font.SysFont("monospace", 22, bold=True)
|
self.font = pygame.font.SysFont("monospace", 22, bold=True)
|
||||||
self.item_font = pygame.font.SysFont("Arial", 16, bold=True)
|
self.item_font = pygame.font.SysFont("Arial", 16, bold=True)
|
||||||
self.running = True
|
self.running = True
|
||||||
|
|||||||
Reference in New Issue
Block a user