adventure-game #3

Open
Kenwood wants to merge 80 commits from adventure-game into master
1 changed files with 6 additions and 1 deletions
Showing only changes of commit fa0c2cac9e - Show all commits

View File

@ -8,12 +8,17 @@ class QuitButton(npyscreen.ButtonPress):
class SendButton(npyscreen.ButtonPress):
def whenPressed(self):
self.parent.parentApp.switchForm('GAME')
self.parent.artContent.value = 'Undraw!'
#self.parent.parentApp.switchForm('GAME')
self.parent.artContent.display()
class GameNavigator(npyscreen.FormBaseNew):
# def afterEditing(self):
#it self.parentApp.setNextForm('GAME')
def render(self):
self.artContent.value = 'Undraw!'
def create(self):
top_division_height = 20
inventory_width = 20