1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 17:01:10 +00:00
This commit is contained in:
2022-06-15 11:42:23 +02:00
parent da998e0862
commit 52bc6e9f22
13 changed files with 294 additions and 62 deletions

View File

@ -181,7 +181,6 @@ public class ScreenMap extends RenderingScreen{
try { Door.nextX = Integer.parseInt(mapProperties.get("nextX").toString()); } catch (Exception e) { }
try { Door.nextY = Integer.parseInt(mapProperties.get("nextY").toString()); } catch (Exception e) { }
try { Door.nextDirection = Character.Direction.valueOf(mapProperties.get("nextDirection").toString()); } catch (Exception e) { }
try { Door.changeDirection = Boolean.parseBoolean(mapProperties.get("changeDirection").toString()); } catch (Exception e) { }
}
}
@ -193,14 +192,12 @@ public class ScreenMap extends RenderingScreen{
public static Integer nextX;
public static Integer nextY;
public static Character.Direction nextDirection;
public static Boolean changeDirection;
public static void reset(){
nextMap = null;
nextX = null;
nextY = null;
nextDirection = null;
changeDirection = null;
}
}