From 5c57eec6a583ca0fc02833fc1cad69bb15ff8d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Thu, 17 Mar 2016 09:03:49 +0100 Subject: [PATCH] Implement Tile.getNeighbors --- .idea/workspace.xml | 227 +++++++++++++++++++++++++------------------- index.php | 30 ++++-- src/Coffee/Map.php | 27 +++--- src/Coffee/Tile.php | 36 +++++-- tests/MapTest.php | 40 ++++---- tests/SpotTest.php | 2 +- tests/TileTest.php | 27 ++++-- 7 files changed, 236 insertions(+), 153 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 944f991..d531836 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,13 +1,13 @@ - - + + + - @@ -33,15 +33,13 @@ - + - - - - - + + + @@ -49,8 +47,8 @@ - - + + @@ -59,7 +57,7 @@ - + @@ -69,8 +67,8 @@ - - + + @@ -79,8 +77,8 @@ - - + + @@ -89,8 +87,8 @@ - - + + @@ -99,8 +97,8 @@ - - + + @@ -157,14 +155,14 @@ @@ -328,20 +326,6 @@ - - - - - - - - - - @@ -394,6 +378,20 @@ + + + + + + + + + + @@ -401,7 +399,7 @@ - + @@ -422,6 +420,7 @@ + @@ -439,6 +438,9 @@ + + + @@ -474,17 +476,19 @@ - + + - - - - + + + + + @@ -529,38 +533,44 @@