From b55bcf77b8b762b7505f8329bd9eeed66276b999 Mon Sep 17 00:00:00 2001 From: Joe S <31870999+KenwoodFox@users.noreply.github.com> Date: Mon, 22 Feb 2021 16:59:45 -0500 Subject: [PATCH] Replace some helptext --- Adventure Game/adventure_game/GameNavigator.py | 9 +++++++-- Adventure Game/adventure_game/MainMenu.py | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Adventure Game/adventure_game/GameNavigator.py b/Adventure Game/adventure_game/GameNavigator.py index b80c284..c24e3f2 100644 --- a/Adventure Game/adventure_game/GameNavigator.py +++ b/Adventure Game/adventure_game/GameNavigator.py @@ -10,8 +10,13 @@ class QuitButton(npyscreen.ButtonPress): 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): self.logList.append(newline) # Append the newline diff --git a/Adventure Game/adventure_game/MainMenu.py b/Adventure Game/adventure_game/MainMenu.py index 3943b0c..02ec615 100644 --- a/Adventure Game/adventure_game/MainMenu.py +++ b/Adventure Game/adventure_game/MainMenu.py @@ -5,6 +5,10 @@ from Player import Player 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): # TODO: the game needs to happen after this inital main menu self.parentApp.setNextForm('GAME')