forked from UNN/2026-rff_mp
11 lines
246 B
Python
11 lines
246 B
Python
|
|
class Cell:
|
||
|
|
def __init__(self, x: int, y: int):
|
||
|
|
self.x = x
|
||
|
|
self.y = y
|
||
|
|
self.is_wall = False
|
||
|
|
self.is_start = False
|
||
|
|
self.is_exit = False
|
||
|
|
|
||
|
|
def is_passable(self) -> bool:
|
||
|
|
return not self.is_wall
|