Browse Source

Added sprites to visualizer

remotes/origin/visualizer
fdai7012 11 months ago
parent
commit
93c67b5149
  1. 18
      src/main/java/pacmanGame/VisualizerPlainTextUltra.java

18
src/main/java/pacmanGame/VisualizerPlainTextUltra.java

@ -1,7 +1,25 @@
package pacmanGame;
import java.util.HashMap;
public class VisualizerPlainTextUltra implements Visualizer {
public HashMap<String, String[]> sprites = new HashMap<String,String[]>(){{
this.put("empty", new String[] {
" ",
" "
});
this.put("dot", new String[] {
" . ",
" "
});
this.put("wall", new String[] {
"|''|",
"|__|"
});
}};
@Override
public Object GetOutput() {
// TODO Auto-generated method stub

Loading…
Cancel
Save