This commit is contained in:
s464859 2022-04-16 20:16:41 +02:00
parent d9a97ff6f5
commit 5cb1a13327
2 changed files with 3 additions and 1 deletions

View File

@ -389,6 +389,8 @@ class Minesweeper:
sensor_list[i][j]="wall" sensor_list[i][j]="wall"
elif self.current_map.terrain_matrix[posy][posx]>9: elif self.current_map.terrain_matrix[posy][posx]>9:
sensor_list[i][j]="wall" sensor_list[i][j]="wall"
elif self.current_map.terrain_matrix[posy][posx]>4:
sensor_list[i][j]="grass"
else: else:
sensor_list[i][j]="sand" sensor_list[i][j]="sand"
for cliff in self.current_map.cliffs: for cliff in self.current_map.cliffs:

View File

@ -11,7 +11,7 @@ TILES_X = int(12)
TILES_Y = int(10) TILES_Y = int(10)
# wł/wył muzyki # wł/wył muzyki
MUSIC = True MUSIC = False
# ustalenie FPS # ustalenie FPS
FPS = 60 FPS = 60