Author: Erik Letson <firstname.lastname@example.org>
Date: Fri, 22 Jan 2021 09:09:49 -0600
future refactor notes added
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/main.py b/main.py
@@ -21,6 +21,11 @@ from src import game
# be added later). The game can use the board directory name to find these files, since it now needs to be shared across multiple managers (the
# boardmanager and the turnmanager right now, but others likely in the future). This perhaps hints at the need for a data directory overhaul,
# which would benefit images and jsons as well. jsons in particular are very jumbled right now.
+# 10. The way the UI in both base and battle modes works needs to change. At the very least, the tile cursor should be managed by TurnManager in the
+# same way that it is managed by BaseManager. An ultimate goal will be to take all gameplay UI elements (UI elements in battle/base mode and in
+# any others where reactive/HUD components will be drawn) and set them all to be managed by a UIManager class, or possibly by an extended version
+# of what is currently the Interface class. This UI manager will be mode-agnostic and will ALWAYS be responsible for drawing UI elements whenever
+# they are needed. This will serve to specialize TurnManager and BaseManager as well.
# Initialization of pygame and submodules
pygame.mixer.pre_init(44100, -16, 4, 1024)