diff --git a/triple-dungeon/path.py b/triple-dungeon/path.py index 2d91ecd..489a258 100644 --- a/triple-dungeon/path.py +++ b/triple-dungeon/path.py @@ -5,16 +5,16 @@ from pathfinding.finder.a_star import AStarFinder # 0 is an unwalkable block. Numbers larger than 0 are walkable. # The higher the number the harder it is to walk on. matrix = [ - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 0, 0, 1, 1, 1, 1], - [0, 1, 1, 1, 0, 0, 1, 1, 1, 1], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 1, 1, 1, 0, 0, 1, 1, 1, 1], + [0, 1, 1, 1, 0, 0, 1, 1, 1, 1], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 1, 1, 1, 1, 1, 1, 1, 1, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] grid = Grid(matrix=matrix)