mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-11-04 13:19:17 +00:00 
			
		
		
		
	add pokemon for enemy
This commit is contained in:
		@@ -3,7 +3,6 @@ package Main;
 | 
			
		||||
import java.util.Vector;
 | 
			
		||||
 | 
			
		||||
import Control.Controller;
 | 
			
		||||
import Entity.Character.Direction;
 | 
			
		||||
import Entity.Enemy;
 | 
			
		||||
import Entity.Entity;
 | 
			
		||||
import Game.Battle;
 | 
			
		||||
@@ -47,12 +46,12 @@ public class PokeMudry extends PortableApplication {
 | 
			
		||||
        
 | 
			
		||||
        // add player, create and add all enemies in entities
 | 
			
		||||
		entities.add((Entity) sp.p);
 | 
			
		||||
		enemies.add(new Enemy("Gloeckner", 1, 7, "lumberjack_sheet32", "21N307", 600, "allemand", Direction.RIGHT));
 | 
			
		||||
		enemies.add(new Enemy("Nicollier", 4, 2, "lumberjack_sheet32", "21N308", 1600, "mathematique", Direction.LEFT));
 | 
			
		||||
		enemies.add(new Enemy("Mudry", 5, 11, "lumberjack_sheet32", "21N304", 700, "informatique", Direction.DOWN));
 | 
			
		||||
		enemies.add(new Enemy("Ellert", 1, 4, "lumberjack_sheet32", "23N215", 300, "physique", Direction.RIGHT));
 | 
			
		||||
		enemies.add(new Enemy("Bianchi", 1, 3, "lumberjack_sheet32", "23N308", 1200, "electricite", Direction.RIGHT));
 | 
			
		||||
		enemies.add(new Enemy("Paciotti", 5, 11, "lumberjack_sheet32", "21N205", 1200, "mecanique", Direction.DOWN));
 | 
			
		||||
		enemies.add(new Enemy("Gloeckner", 1, 7, "21N307", 600, "allemand"));
 | 
			
		||||
		enemies.add(new Enemy("Nicollier", 4, 2,  "21N308", 1600, "mathematique"));
 | 
			
		||||
		enemies.add(new Enemy("Mudry", 5, 11,  "21N304", 700, "informatique"));
 | 
			
		||||
		enemies.add(new Enemy("Ellert", 1, 4, "23N215", 300, "physique"));
 | 
			
		||||
		enemies.add(new Enemy("Bianchi", 1, 3, "23N308", 1200, "electricite"));
 | 
			
		||||
		enemies.add(new Enemy("Paciotti", 5, 11, "21N205", 1200, "mecanique"));
 | 
			
		||||
        for (Enemy enemy : enemies) { entities.add(enemy); }
 | 
			
		||||
        
 | 
			
		||||
		//Init all entities
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ public class Settings {
 | 
			
		||||
    public static final int PLAYERS = 1;
 | 
			
		||||
    public static final int TIME = 10; // number of minutes for kill all enemy // should be 10
 | 
			
		||||
    public static final int RECOVERED = 30; // number of seconds an enemy need for recovered
 | 
			
		||||
    public static final int SWITCHMAPTIME = 250; // Number of milliseconds the player wait for switch map
 | 
			
		||||
    public static final int SWITCH_MAP_TIME = 250; // Number of milliseconds the player wait for switch map
 | 
			
		||||
 | 
			
		||||
    public static final int SIDE = 800;
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user