Main menu and loading somewhat finished.

This commit is contained in:
Sakse Dalum
2012-08-07 15:46:40 +02:00
parent b0062a5ba7
commit 5452dfdfe0
2 changed files with 13 additions and 10 deletions

View File

@@ -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))