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
@ -110,6 +110,10 @@ class Display:
|
||||
self.flash_on = False
|
||||
self.flash_chars = [[0] * 0x400] * 2
|
||||
|
||||
self.page = 1
|
||||
self.text = True
|
||||
self.colour = False
|
||||
|
||||
self.chargen = []
|
||||
for c in self.characters:
|
||||
chars = [[pygame.Surface((14, 16)), pygame.Surface((14, 16))],
|
||||
|
Loading…
Reference in New Issue
Block a user