AI-Project/survival/game/tile.py

7 lines
194 B
Python
Raw Normal View History

2021-03-04 14:07:44 +01:00
class Tile:
2021-05-10 12:56:08 +02:00
def __init__(self, origin: tuple = (0, 0), cost: int = 1, biome=None):
2021-05-09 16:36:28 +02:00
self.origin = origin
self.cost = cost
2021-05-10 12:56:08 +02:00
self.biome = biome
2021-03-14 18:42:40 +01:00
self.image = None