class Tile: def __init__(self, origin, cost): self.origin = origin self.cost = cost self.image = None