From 475090823684725cc80e06d10adabeeafee748d0 Mon Sep 17 00:00:00 2001 From: eugenep Date: Wed, 19 May 2021 16:36:06 +0200 Subject: [PATCH] misc changes --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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':