dev-jakklu #3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user