tile module

class tile.Coordinate(x: int, y: int)

Bases: object

Coordinate Class

class tile.Tile(location: tile.Coordinate)

Bases: object

Tile Class

is_end() bool

Checks if tile is the end tile

Returns

True if tile is the end tile, false if not

Return type

bool

is_start() bool

Checks if tile is the start tile

Returns

True if tile is the start tile, false if not

Return type

bool

parent: tile.Coordinate