Skip to content

Commit

Permalink
Fix typo. walable -> walkable
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Dec 17, 2014
1 parent 2814a3c commit ee3f5e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/user-guide/obstacles.md
Expand Up @@ -14,13 +14,13 @@ var grid = new PF.Grid(5, 7, matrix);

The _walkabilityMatrix_ defines which cells are walkable and which have
obstacles. Ones are obstacles and zeroes are walkable. Alternatively, you can
also set the obstacles on the grid by calling the `setWalableAt` function:
also set the obstacles on the grid by calling the `setWalkableAt` function:

```javascript
var grid = new PF.Grid(5, 7);
grid.setWalableAt(0, 1, false);
grid.setWalableAt(1, 1, false);
grid.setWalableAt(2, 1, false);
grid.setWalkableAt(0, 1, false);
grid.setWalkableAt(1, 1, false);
grid.setWalkableAt(2, 1, false);
...
```

Expand Down

0 comments on commit ee3f5e0

Please sign in to comment.