Replace some helptext

This commit is contained in:
Joe S 2021-02-22 16:59:45 -05:00
parent b396cee469
commit b55bcf77b8
2 changed files with 11 additions and 2 deletions

View File

@ -10,8 +10,13 @@ class QuitButton(npyscreen.ButtonPress):
class GameNavigator(npyscreen.FormBaseNew): class GameNavigator(npyscreen.FormBaseNew):
# def afterEditing(self): """
# it self.parentApp.setNextForm('GAME') This class handles all the drawing and 'graphics' of our game.
only basic logic like initial loading should happen here. re-drawing
and game logic should be done in Handler.py
TODO: Find a fix for initial room startup
TODO: Find a way to reset the cursor after a user hits sendButton
"""
def update_log(self, newline): def update_log(self, newline):
self.logList.append(newline) # Append the newline self.logList.append(newline) # Append the newline

View File

@ -5,6 +5,10 @@ from Player import Player
class MainMenu(npyscreen.Form): class MainMenu(npyscreen.Form):
"""
This is the main menu, code here should only be for
initializing the player data and any settings they want to change
"""
def afterEditing(self): def afterEditing(self):
# TODO: the game needs to happen after this inital main menu # TODO: the game needs to happen after this inital main menu
self.parentApp.setNextForm('GAME') self.parentApp.setNextForm('GAME')