misc updates

This commit is contained in:
eugenep 2021-03-31 15:27:08 +02:00
parent 20dd4c9669
commit e5269af7bb
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@ YELLOW = (255, 255, 0)
WIDTH = 800 # 16 * 64 or 32 * 32 or 64 * 16 WIDTH = 800 # 16 * 64 or 32 * 32 or 64 * 16
HEIGHT = 600 # 16 * 48 or 32 * 24 or 64 * 12 HEIGHT = 600 # 16 * 48 or 32 * 24 or 64 * 12
FPS = 60 FPS = 60
TITLE = "Tilemap Demo" TITLE = "Sweeper Demo"
BGCOLOR = DARKGREY BGCOLOR = DARKGREY
TILESIZE = 50 TILESIZE = 50

View File

@ -1,3 +1,7 @@
import pygame
from pygame.sprite import Sprite
class SuperMine: class SuperMine:
def __init__(self, column, row, state, danger_level, striking_distanse, active): def __init__(self, column, row, state, danger_level, striking_distanse, active):
self.column = column self.column = column