mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-07-07 17:01:10 +00:00
finish to add time
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
package Entity;
|
||||
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import Main.Settings;
|
||||
|
||||
public class Enemy extends Character{
|
||||
|
||||
private String branch;
|
||||
public int recoveredTime = Settings.RECOVERED;
|
||||
|
||||
|
||||
|
||||
|
@ -8,6 +8,7 @@ import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import Control.Controller;
|
||||
import Main.PokeMudry;
|
||||
import Main.Settings;
|
||||
import Screen.ScreenMap;
|
||||
|
||||
public class Player extends Character{
|
||||
@ -77,6 +78,8 @@ public class Player extends Character{
|
||||
|
||||
|
||||
if(onDoor){
|
||||
long time = System.currentTimeMillis();
|
||||
while (System.currentTimeMillis()-time < Settings.SWITCHMAPTIME) { }
|
||||
String nMap = null;
|
||||
Integer x = null;
|
||||
Integer y = null;
|
||||
|
Reference in New Issue
Block a user