|
|
@ -55,6 +55,7 @@ public class VisualizerPlainText implements Visualizer { |
|
|
|
boolean containsGhosts5 = false; |
|
|
|
boolean containsGhosts6 = false; |
|
|
|
boolean containsGhosts7 = false; |
|
|
|
boolean containsGhosts8 = false; |
|
|
|
boolean containsPlayer = false; |
|
|
|
for( int i = 0; i < gameManager.ghosts.length; i++) { |
|
|
|
if(gameManager.ghosts[i].position.equals(cell.pos)) { |
|
|
@ -92,6 +93,9 @@ public class VisualizerPlainText implements Visualizer { |
|
|
|
else if (containsGhosts7) { |
|
|
|
output += ghostSprite7; |
|
|
|
} |
|
|
|
else if (containsGhosts8) { |
|
|
|
output += ghostSprite8; |
|
|
|
} |
|
|
|
else if (sprites.containsKey(cell.type)) { |
|
|
|
|
|
|
|
output += sprites.get(cell.type); |
|
|
|