Updated alien_invasion.py
This commit is contained in:
parent
cb62ec7f68
commit
3b527e4471
@ -6,7 +6,7 @@ class AlienInvasion:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Initialize game and create resources"""
|
"""Initialize game and create resources"""
|
||||||
pygame.init()
|
pygame.init()
|
||||||
self.screen = pygame.display.set_mode((800, 600))
|
self.screen = pygame.display.set_mode((1920, 1080))
|
||||||
pygame.display.set_caption("Alien Invasion")
|
pygame.display.set_caption("Alien Invasion")
|
||||||
def run_game(self):
|
def run_game(self):
|
||||||
"""Start main game loop"""
|
"""Start main game loop"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user