Spaces:
Configuration error
Configuration error
File size: 384 Bytes
69373e6 c903325 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | from .tile_type import TileType
from .point import Point
class Tile:
def __init__(self, type, token_num, position, points):
self.type = type
self.token_num = token_num
self.position = position
self.points = points
def __repr__(self):
return "| %s, %s at r=%s, i=%s |" % (self.type, self.token_num, self.position[0], self.position[1])
|