move default tile origin value to constructor
This commit is contained in:
parent
e0ca3c5f87
commit
51d3ce520b
@ -1,4 +1,4 @@
|
||||
class Tile:
|
||||
def __init__(self):
|
||||
self.origin = (0, 0)
|
||||
def __init__(self, origin=(0, 0)):
|
||||
self.origin = origin
|
||||
self.image = None
|
||||
|
Loading…
Reference in New Issue
Block a user