Closed KingNook closed 1 month ago
I have moved stuff over to the grid_renderer
class so in theory the issue as written is complete. However, there are many things I would like to clean up first before marking this as done. I might open up a separate issue with major changes I plan on making though.
Major changes will go to a separate issue. Anything else can be fixed here before closing.
grab_config()
method in GridRenderer
. Note this will require me to change references to all the constants to (presumably) self.properties[<constant>]
documentation
label :)Yeah doesn't look like this will be seeing much more changes so I'll go ahead and close it :)
Context
During my refactoring journey, I have noticed that the code may become slightly cleaner if I have a
GridRenderer
class that stores the constants that I have defined at the start (as well as potentially theCoord_to_Pg
dictionary)Thoughts / Challenges
Should be a 'straightforward' migration of the functions I've already yoinked out of the main loop - I suspect there will be a plethora of bugs introduced by my forgetting to redefine some things, although these will sort themselves out eventually
Method
se