1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 17:01:10 +00:00

add 3 maps

This commit is contained in:
2022-06-13 18:06:38 +02:00
parent de2746de40
commit 93688eb1c2
25 changed files with 1652 additions and 10202 deletions

View File

@ -76,12 +76,13 @@ public class Player extends Character{
nMap = ScreenMap.Door.nextMap;
x = ScreenMap.Door.nextX;
y = ScreenMap.Door.nextY;
goalDirection = ScreenMap.Door.direction;
} catch (Exception e) { }
ScreenMap.Door.reset();
if (nMap == null || x == null || y == null) return;
map = nMap;
setPosition(x*sm.tileWidth, y*sm.tileHeight);
System.out.println("Go to: " + sm.map + " in " + x + " x " + y);
System.out.println("Go to: " + map + " in " + x + " x " + y);
}
}
}