mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-31 03:39:16 +00:00 
			
		
		
		
	finish to add enemy
This commit is contained in:
		| @@ -2,6 +2,7 @@ package Screen; | ||||
|  | ||||
| import Entity.Enemy; | ||||
| import Entity.Player; | ||||
| import Entity.Character.Direction; | ||||
| import Game.Battle; | ||||
| import ch.hevs.gdx2d.lib.GdxGraphics; | ||||
|  | ||||
| @@ -19,7 +20,7 @@ public class ScreenPlayer { | ||||
|         //p = new Player(8, 15, "desert"); | ||||
|         p = new Player(4, 2, "21RI"); | ||||
|  | ||||
|         b = new Battle(new Enemy("enemi", 0, 0, "lumberjack_sheet32", "desert", 50, "enemi")); | ||||
|         b = new Battle(new Enemy("enemy", 0, 0, "lumberjack_sheet32", "desert", 50, "enemy",Direction.NULL)); | ||||
|  | ||||
|         // Create both type of screen and record for reuse | ||||
|         screenManager.registerScreen(ScreenMap.class); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user