Integrate the new map generation into the game ! Closes #5
This commit is contained in:
parent
641f5c7872
commit
c6947fab44
@ -12,7 +12,7 @@ import sys
|
||||
from .entities.player import Player
|
||||
from .enums import GameMode, KeyValues, DisplayActions
|
||||
from .interfaces import Map, Logs
|
||||
from .mapgeneration import randomwalk
|
||||
from .mapgeneration import randomwalk, broguelike
|
||||
from .resources import ResourceManager
|
||||
from .settings import Settings
|
||||
from . import menus
|
||||
@ -51,7 +51,7 @@ class Game:
|
||||
"""
|
||||
Create a new game on the screen.
|
||||
"""
|
||||
self.map = randomwalk.Generator().run()
|
||||
self.map = broguelike.Generator().run()
|
||||
self.map.logs = self.logs
|
||||
self.logs.clear()
|
||||
self.player = Player()
|
||||
|
Loading…
Reference in New Issue
Block a user