handle a redraw!

This commit is contained in:
Joe S 2021-02-21 17:07:20 -05:00
parent eb70e4a438
commit fa0c2cac9e
1 changed files with 6 additions and 1 deletions

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