Integrate the new map generation into the game ! Closes #5

This commit is contained in:
Charles Peyrat 2021-01-08 07:39:52 +01:00
parent 641f5c7872
commit c6947fab44

View File

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