fixed map bg loading
This commit is contained in:
parent
43672978af
commit
077c8dfb90
@ -159,8 +159,9 @@ public class WindowOfFreeMove extends JFrame {
|
|||||||
m4.addMoveToEvent(new EventMoveToCell(4, 1, 8, 8, m1));
|
m4.addMoveToEvent(new EventMoveToCell(4, 1, 8, 8, m1));
|
||||||
m4.addMoveToEvent(new EventMoveToCell(3, 3, 8, 1, m3));
|
m4.addMoveToEvent(new EventMoveToCell(3, 3, 8, 1, m3));
|
||||||
|
|
||||||
|
m1.readMapFile("map-test");
|
||||||
|
|
||||||
setMap(m1);
|
setMap(m1);
|
||||||
map.readMapFile("map-test");
|
|
||||||
map.createMap();
|
map.createMap();
|
||||||
isReadyToPaint = true;
|
isReadyToPaint = true;
|
||||||
canvas.repaint();
|
canvas.repaint();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user