diff --git a/main.py b/main.py index 4054cfa..6021700 100644 --- a/main.py +++ b/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':