Browse Source

Added GameManager to visualizer

remotes/origin/visualizer
fdai7012 11 months ago
parent
commit
1500c6ac15
  1. 8
      src/main/java/pacmanGame/VisualizerPlainTextUltra.java

8
src/main/java/pacmanGame/VisualizerPlainTextUltra.java

@ -4,7 +4,9 @@ import java.util.HashMap;
public class VisualizerPlainTextUltra implements Visualizer {
public HashMap<String, String[]> sprites = new HashMap<String,String[]>(){{
GameManager gameManager = new GameManager();
public HashMap<String, String[]> sprites = new HashMap<String,String[]>(){{
this.put("empty", new String[] {
" ",
@ -23,7 +25,7 @@ public HashMap<String, String[]> sprites = new HashMap<String,String[]>(){{
" 0O "
});
}};
public final String[][] ghostSprites = {
{
"/--\\",
@ -71,7 +73,7 @@ public HashMap<String, String[]> sprites = new HashMap<String,String[]>(){{
"▄██▄",
"▀██▀"
};
@Override
public Object GetOutput() {
// TODO Auto-generated method stub

Loading…
Cancel
Save