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

FabLab added

This commit is contained in:
2022-06-16 21:08:31 +02:00
parent 3e96178c0f
commit 12ccf3f58a
4 changed files with 81 additions and 1 deletions

View File

@ -94,6 +94,7 @@ public class Player extends Character{
ScreenMap.Door.reset();
if (nMap == null || x == null || y == null) return;
map = nMap;
if(map.equals("FabLab")) addXp(400); // * Like an easter egg, but necessary for win the game
setPosition(x*sm.tileWidth, y*sm.tileHeight);
turn(goalDirection);
System.out.println("Go to: " + map + " in " + x + " x " + y);

View File

@ -68,6 +68,7 @@ public class ScreenMap extends RenderingScreen{
createMap("23RI");
createMap("23RS");
createMap("FabLab");
createMap("23N1");
createMap("23N2");
createMap("23N215");