Split Display (gui) and Maze (work), prepare for another model

- prepare for a shorter storage model without any resolution
This commit is contained in:
philippe lhardy
2020-12-20 19:18:17 +01:00
parent a70ead877a
commit e146199ba0
15 changed files with 720 additions and 450 deletions

View File

@@ -89,7 +89,8 @@ public class LabyMap implements WallsProvider
}
return laby;
}
// FIXME UGLY and not usable, need a better mapping, and not be a specialized toString...
@Deprecated
public String toShortString()
{
int entryX = -1;
@@ -110,11 +111,12 @@ public class LabyMap implements WallsProvider
{
for (int x = 0; x < tileMap.length; x++)
{
laby += "" + tileMap[x][y].getChar();
laby += "" + BrickTextMapping.getChar(tileMap[x][y]);
}
laby += "\n";
}
return laby;
}
}