trawa3
This commit is contained in:
parent
d9a97ff6f5
commit
5cb1a13327
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user