diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/search.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/search.js b/tools/search.js index 38a1124..7f681f0 100644 --- a/tools/search.js +++ b/tools/search.js @@ -12,11 +12,6 @@ function getComp(index){ return (element,needle) => (element[index] - needle[index] || element[1-index] - needle[1-index]) } -function tileToChar(coord){ - let cofactor = [8,16]; - return [coord[0]*cofactor[0], coord[1]*cofactor[1]]; -} - function Search(searchBlock){ // searchBlock should be a Space object. this.tiles = {}; // Object which stores Spaces. this.sort = [[],[]]; // Vertically/horizontally sorted list of tiles for fast addition, deletion, and searching |