redo screen system
This commit is contained in:
@@ -7,6 +7,12 @@ from untitled import PACKAGE_ROOT, content, model, persistence, screens, ui
|
||||
class App:
|
||||
def __init__(self):
|
||||
self.debug = os.path.exists("DEBUG_MODE")
|
||||
self.save = None
|
||||
|
||||
def game(self):
|
||||
if self.save is None:
|
||||
return
|
||||
screens.house(self.save)
|
||||
|
||||
def run(self):
|
||||
# Intro
|
||||
@@ -42,3 +48,5 @@ class App:
|
||||
print("Saving...")
|
||||
persistence.save(save)
|
||||
print("Save complete.")
|
||||
self.save = save
|
||||
self.game()
|
||||
|
||||
Reference in New Issue
Block a user