mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-11-04 13:19:17 +00:00 
			
		
		
		
	a
This commit is contained in:
		@@ -53,8 +53,8 @@ public class PokeMudry extends PortableApplication {
 | 
			
		||||
    public void onGraphicRender(GdxGraphics g) {
 | 
			
		||||
        g.clear();
 | 
			
		||||
		sp.p.manageEntity(sp.sm, controller);
 | 
			
		||||
        sp.sb.manage(controller);
 | 
			
		||||
        sp.render(g);
 | 
			
		||||
        System.out.println(sp.screenManager.getActiveScreen().getClass());
 | 
			
		||||
        //System.out.println(ScreenMap.class);
 | 
			
		||||
		for (Entity entity : entities) {
 | 
			
		||||
            
 | 
			
		||||
@@ -64,7 +64,6 @@ public class PokeMudry extends PortableApplication {
 | 
			
		||||
        
 | 
			
		||||
        if (sp.p.frontOfEnemy && sp.screenManager.getActiveScreen().getClass().equals(ScreenMap.class)){
 | 
			
		||||
            sp.e = sp.p.lastEnemy;
 | 
			
		||||
            System.out.println("switch screen");
 | 
			
		||||
            sp.screenManager.activateNextScreen();
 | 
			
		||||
            g.resetCamera();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user