mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-11-04 13:19:17 +00:00 
			
		
		
		
	add enemy but no interaction
This commit is contained in:
		@@ -50,6 +50,8 @@ public class Player extends Character{
 | 
			
		||||
					// Go
 | 
			
		||||
					setSpeed(sm.getSpeed(nextCell));
 | 
			
		||||
					go(goalDirection);
 | 
			
		||||
				} else {
 | 
			
		||||
					
 | 
			
		||||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				// Face the wall
 | 
			
		||||
@@ -76,6 +78,12 @@ public class Player extends Character{
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
    private boolean enemy() {
 | 
			
		||||
		/*
 | 
			
		||||
		Vector<Entity> entities = testHER.getEntities;
 | 
			
		||||
		for (Entity entity : entities) {
 | 
			
		||||
			
 | 
			
		||||
		}
 | 
			
		||||
		*/
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user