Skip to content

Commit 84f1292

Browse files
Added a no-args constructor to the main class.
1 parent 4c39b94 commit 84f1292

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Graphik.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
# @author Daniel McCoy Stephenson
1010
# @since February 3rd, 2022
1111
class Graphik:
12+
def __init__(self):
13+
displayWidth = 900
14+
displayHeight = 600
15+
self.gameDisplay = pygame.display.set_mode((displayWidth, displayHeight))
16+
17+
self.version = 0.1
18+
1219
def __init__(self, gameDisplay):
1320
self.gameDisplay = gameDisplay
1421

0 commit comments

Comments
 (0)