Added Window Title.
This commit is contained in:
parent
5b5594ae40
commit
4f9976e7c8
1 changed files with 2 additions and 1 deletions
|
@ -8,13 +8,14 @@ class ModelViewer:
|
||||||
def __init__(self, window_size: tuple=(1200, 800), fps: int=60):
|
def __init__(self, window_size: tuple=(1200, 800), fps: int=60):
|
||||||
pygame.init()
|
pygame.init()
|
||||||
self.screen = pygame.display.set_mode(window_size, flags=pygame.RESIZABLE)
|
self.screen = pygame.display.set_mode(window_size, flags=pygame.RESIZABLE)
|
||||||
|
pygame.display.set_caption("Sprite Stacking Model Viewer")
|
||||||
|
|
||||||
self.gray = (20, 20, 20)
|
self.gray = (20, 20, 20)
|
||||||
|
|
||||||
self.window_size = window_size
|
self.window_size = window_size
|
||||||
self.fps = fps
|
self.fps = fps
|
||||||
self.rotating = True
|
self.rotating = True
|
||||||
self.model = engine.Object("models/coffee_cup.png", size_multiplier=20)
|
self.model = engine.Object("models/coffee_cup.png", size_multiplier=30)
|
||||||
|
|
||||||
self.clock = pygame.time.Clock()
|
self.clock = pygame.time.Clock()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue