diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-08 22:47:13 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-08 22:47:13 -0800 |
commit | 16567167343024754247818e92115ed83255ed0d (patch) | |
tree | dcd71d452cdee6996cf7547c3e1665390d9d76de /pages/gallery.php | |
parent | e04ac8f4c4db236005ac045a9dbb36b163f227ee (diff) | |
download | pathery-16567167343024754247818e92115ed83255ed0d.tar.xz |
Map class and Challenges
The mapclass should eventually replace the current mapmatrix array w/ headers.
Work on challenges progresses nicely
Diffstat (limited to 'pages/gallery.php')
-rw-r--r-- | pages/gallery.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pages/gallery.php b/pages/gallery.php index 9df059a..f8e1b9d 100644 --- a/pages/gallery.php +++ b/pages/gallery.php @@ -54,6 +54,32 @@ $myparams['name'] = 'Round and Round'; $map = GenerateShapedMap($spin, $myparams); +include('./includes/mapclass.php'); + +$mapCode = GenerateMapCode($map); +echo $mapCode; +echo "<br>"; +echo "<br>"; + +$mapClass = new map($mapCode); +echo DisplayMapThumbnail($mapClass); + +echo "<br>"; +echo "<br>"; +echo $mapClass->width; +echo "<br>"; +echo $mapClass; +echo "<br>"; +echo "<br>"; +var_dump($mapClass); +echo "<br>"; +echo TileStart; +echo TileFinish; +echo "<br>"; + +exit; + + echo DisplayMap($map, 2); //addNewChallengeMap($map, 0, 0, 'Round and Round'); |