Main menu and loading somewhat finished.
This commit is contained in:
@@ -43,6 +43,7 @@ class MainMenu(object):
|
||||
if event.type == pygame.KEYDOWN:
|
||||
if event.key == pygame.K_SPACE:
|
||||
self.game.goto_level(level.Level("landing"))
|
||||
self.game.objs.remove(self)
|
||||
|
||||
def draw(self, window):
|
||||
window.blit(self.background_img, (0, 0))
|
||||
|
||||
Reference in New Issue
Block a user