mirror of
https://github.com/jtauber/applepy.git
synced 2024-12-28 09:29:51 +00:00
initialise display state variables in constructor
This commit is contained in:
parent
c9ecb5f31e
commit
4ee9b846f9
@ -109,6 +109,10 @@ class Display:
|
|||||||
self.flash_time = time.time()
|
self.flash_time = time.time()
|
||||||
self.flash_on = False
|
self.flash_on = False
|
||||||
self.flash_chars = [[0] * 0x400] * 2
|
self.flash_chars = [[0] * 0x400] * 2
|
||||||
|
|
||||||
|
self.page = 1
|
||||||
|
self.text = True
|
||||||
|
self.colour = False
|
||||||
|
|
||||||
self.chargen = []
|
self.chargen = []
|
||||||
for c in self.characters:
|
for c in self.characters:
|
||||||
|
Loading…
Reference in New Issue
Block a user