Imposta il titolo predefinito della finestra di gioco su "Default"
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ from sdl2.ext.compat import byteify
|
|||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
class GameWindow:
|
class GameWindow:
|
||||||
def __init__(self, width, height, cell_size, title="", key_callback=None):
|
def __init__(self, width, height, cell_size, title="Default", key_callback=None):
|
||||||
self.cell_size = cell_size
|
self.cell_size = cell_size
|
||||||
self.width = width * cell_size
|
self.width = width * cell_size
|
||||||
self.height = height * cell_size
|
self.height = height * cell_size
|
||||||
|
|||||||
Reference in New Issue
Block a user