npyscreen-adventure-game #8

Manually merged
Kenwood merged 29 commits from npyscreen-adventure-game into adventure-game 2021-02-23 13:43:20 -05:00
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): class SendButton(npyscreen.ButtonPress):
def whenPressed(self): 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): class GameNavigator(npyscreen.FormBaseNew):
# def afterEditing(self): # def afterEditing(self):
#it self.parentApp.setNextForm('GAME') #it self.parentApp.setNextForm('GAME')
def render(self):
self.artContent.value = 'Undraw!'
def create(self): def create(self):
top_division_height = 20 top_division_height = 20
inventory_width = 20 inventory_width = 20