2026-rff_mp/VildyaevAV/docs/task2/cell.py
2026-05-21 21:50:03 +03:00

11 lines
245 B
Python

class Cell:
def __init__(self, x, y, is_wall=False):
self.x = x
self.y = y
self.is_wall = is_wall
self.is_start = False
self.is_exit = False
def is_passable(self):
return not self.is_wall