mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-14 08:09:54 -06:00
removed tabs
This commit is contained in:
@@ -5,16 +5,16 @@ from pathfinding.finder.a_star import AStarFinder
|
|||||||
# 0 is an unwalkable block. Numbers larger than 0 are walkable.
|
# 0 is an unwalkable block. Numbers larger than 0 are walkable.
|
||||||
# The higher the number the harder it is to walk on.
|
# The higher the number the harder it is to walk on.
|
||||||
matrix = [
|
matrix = [
|
||||||
[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, 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, 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, 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]
|
||||||
]
|
]
|
||||||
|
|
||||||
grid = Grid(matrix=matrix)
|
grid = Grid(matrix=matrix)
|
||||||
|
|||||||
Reference in New Issue
Block a user