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

exterior done

This commit is contained in:
2022-06-18 12:18:33 +02:00
parent 62716a5077
commit 9e2e9dd739
16 changed files with 1356 additions and 3295 deletions

View File

@ -21,6 +21,7 @@ public class PokeHES extends PortableApplication {
private static Vector<Entity> entities = new Vector<>();
private long beginTime;
private long lastMesure;
private long stairTime;
public static boolean risingFront = false;
@ -77,6 +78,11 @@ public class PokeHES extends PortableApplication {
sp.p.removedPv(1);
for (Enemy enemy : enemies) { enemy.recoveredTime++; }
}
//if (sp.p.onDoor) {
// while (System.currentTimeMillis()-timeNow < Settings.SWITCH_MAP_TIME) { g.clear(); }
//}
if(onMapScreen) sp.p.manageEntity(sp.sm, controller);

View File

@ -6,7 +6,7 @@ public class Settings {
public static final int PLAYERS = 1;
public static final int TIME = 15; // number of minutes for kill all enemy // should be 10
public static final int RECOVERED = 30; // number of seconds an enemy need for recovered
public static final int SWITCH_MAP_TIME = 250; // Number of milliseconds the player wait for switch map
public static final int SWITCH_MAP_TIME = 1000; // Number of milliseconds the player wait for switch map
public static final int SIDE = 800; // Do not change // TODO resize possible