mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-31 03:39:16 +00:00 
			
		
		
		
	finish to add time
This commit is contained in:
		| @@ -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