dev-jakklu #3

Merged
s452701 merged 12 commits from dev-jakklu into master 2021-03-18 18:00:24 +01:00
Showing only changes of commit 5417c5e3fb - Show all commits

View File

@ -1,4 +1,9 @@
import random
class Tile: class Tile:
origins = [(0, 0), (32, 0), (64, 0), (96, 0)]
def __init__(self, origin=(0, 0)): def __init__(self, origin=(0, 0)):
self.origin = origin self.origin = random.choice(Tile.origins)
self.image = None self.image = None