diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 04:58:04 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 04:58:04 -0500 |
commit | e2cfff284c4004d0d11609a22ee535fcf23dcdf9 (patch) | |
tree | 0356f12c2b52fb7798bd4e7c4cc59cc8401f7a50 /do.php | |
parent | 5d40666d1cb667342b0ad1365a13c87923da0eb2 (diff) | |
download | pathery-e2cfff284c4004d0d11609a22ee535fcf23dcdf9.tar.xz |
Added single-path blocking towers functionality to routePath
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -132,10 +132,10 @@ if ($_GET['r'] == 'getpath') { //$json = routePath($mygrid);
// New
- // !! Broken!
+ // TODO: Broken!
//Route the path
$json['path'][] = routePath($mygrid);
- $json['path'][] = routePath($mygrid, 'X');
+ $json['path'][] = routePath($mygrid, false, true);
// !! Tmp
//$moves = $json['moves'];
|