Browse Source

Added move directions to ghosts

remotes/origin/ghosts
fdai7753 11 months ago
parent
commit
9b2da8a4d6
  1. 8
      src/main/java/pacmanGame/Map.java

8
src/main/java/pacmanGame/Map.java

@ -19,8 +19,8 @@ public class Map {
"wwwwwww.wweeeeeeeeeeww.wwwwwww", "wwwwwww.wweeeeeeeeeeww.wwwwwww",
"wwwwwww.wwewwwwwwwweww.wwwwwww", "wwwwwww.wwewwwwwwwweww.wwwwwww",
"wwwwwww.wweweeeeeeweww.wwwwwww", "wwwwwww.wweweeeeeeweww.wwwwwww",
"eeeeeee.eeewe1ee3eweee.eeeeeee",
"wwwwwww.wwewe2ee4eweww.wwwwwww",
"eeeeeee.eeewe0ee2eweee.eeeeeee",
"wwwwwww.wwewe1ee3eweww.wwwwwww",
"wwwwwww.wweweeeeeeweww.wwwwwww", "wwwwwww.wweweeeeeeweww.wwwwwww",
"wwwwwww.wwewwwwwwwweww.wwwwwww", "wwwwwww.wwewwwwwwwweww.wwwwwww",
"wwwwwww.wweeeeeeeeeeww.wwwwwww", "wwwwwww.wweeeeeeeeeeww.wwwwwww",
@ -39,7 +39,9 @@ public class Map {
"wwwwwwwwwwwwwwwwwwwwwwwwwwwwww" "wwwwwwwwwwwwwwwwwwwwwwwwwwwwww"
}; };
public final int ghostSpawnCount = 4;
public Vector2[] ghostSpawns;
public String ghostSpawnChars = "0123456789";
public final HashMap<String, String> mapTypes = new HashMap<String,String>(){{ public final HashMap<String, String> mapTypes = new HashMap<String,String>(){{
this.put("e", "empty"); this.put("e", "empty");

Loading…
Cancel
Save