mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-11-04 13:19:17 +00:00 
			
		
		
		
	Merge branch 'master' into battlescreen-display
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;
 | 
			
		||||
 | 
			
		||||
    private int pvInit;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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{
 | 
			
		||||
@@ -78,6 +79,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