diff options
Diffstat (limited to 'bin/world.py')
-rw-r--r-- | bin/world.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/world.py b/bin/world.py index 15cdd21..31674f2 100644 --- a/bin/world.py +++ b/bin/world.py @@ -6,11 +6,12 @@ Email: paul.t.oliver.design@gmail.com This module should be considered an extension of the 'printer' module. It takes care of getting a pre-redered image from Salis and post-processing it in order -to print it into the curses screen. It also keeps track of user cntrollable +to print it into the curses screen. It also keeps track of user controllable rendering parameters (position and zoom). """ import curses + from ctypes import c_uint8, cast, POINTER @@ -147,6 +148,11 @@ class World: if self.__is_world_editable(): self.__show_ip = not self.__show_ip + + ############################### + # Private methods + ############################### + def __set_world_colors(self): """ Define color pairs for rendering the world. Each color has a special meaning, referring to the selected process IP, SP and memory |