|
|
@ -3,7 +3,8 @@ package pacmanGame; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
public class Map { |
|
|
|
public final String[] mapClassic = { |
|
|
|
|
|
|
|
public static String[] mapClassic = { |
|
|
|
"wwwwwwwwwwwwwwwwwwwwwwwwwwwwww", |
|
|
|
"wwwwwwwwwwwwwwwwwwwwwwwwwwwwww", |
|
|
|
"ww............ww............ww", |
|
|
@ -52,10 +53,6 @@ public class Map { |
|
|
|
public Vector2 playerSpawn = new Vector2(2,2); |
|
|
|
public char playerSpawnChar = 's'; |
|
|
|
|
|
|
|
public Map() { |
|
|
|
GenerateMap(mapClassic); |
|
|
|
} |
|
|
|
|
|
|
|
public Map(String[] mapData) { |
|
|
|
GenerateMap(mapData); |
|
|
|
} |
|
|
|