misc changes
This commit is contained in:
parent
5df7f58b48
commit
4750908236
4
main.py
4
main.py
@ -40,6 +40,8 @@ class Game:
|
||||
def new(self):
|
||||
# initialize all variables and do all the setup for a new game
|
||||
#glebokosc rozmiar masa moc szkodliwosc zabawka stan teledysk
|
||||
# x0 = glebokosc x1 = rozmiar x2 = masa x3 = moc x4 = szkodliwosc x5 = zabawka x6 = stan x7 = teledysk
|
||||
# oflagowac, zdetonowac, sprzedac na allegro, sprzedac na czarnym rynku, obejrzec
|
||||
self.all_sprites = pg.sprite.Group()
|
||||
self.walls = pg.sprite.Group()
|
||||
self.mines = pg.sprite.Group()
|
||||
@ -48,7 +50,7 @@ class Game:
|
||||
for col, tile in enumerate(tiles):
|
||||
if tile == '2':
|
||||
Mine(self, col, row)
|
||||
Mine.set_parameters(Mine,18,32,6,7,0,0,0,0)
|
||||
Mine.set_parameters(Mine,18,32,6,7,0,1,0,0)
|
||||
if tile == '3':
|
||||
Bomb(self, col, row)
|
||||
if tile == '4':
|
||||
|
Loading…
Reference in New Issue
Block a user