package Terrain;

	public enum Direction {
		HAUT		(new Coordonnees(0	,-1)),
		BAS		(new Coordonnees(0	,1)),
		DROITE		(new Coordonnees(1	,0)),
		GAUCHE		(new Coordonnees(-1	,0)),
		HAUT_GAUCHE	(new Coordonnees(-1	,-1)),
		HAUT_DROITE	(new Coordonnees(1	,-1)),
		BAS_GAUCHE	(new Coordonnees(-1	,1)),
		BAS_DROITE	(new Coordonnees(1	,1));
		
		private Coordonnees direction;
		private Direction(Coordonnees direction) {this.direction=direction;}
		public Coordonnees getCoordonnees() { return direction; }
	}
package Terrain;

	public enum Direction {
		HAUT		(new Coordonnees(0	,-1)),
		BAS		(new Coordonnees(0	,1)),
		DROITE		(new Coordonnees(1	,0)),
		GAUCHE		(new Coordonnees(-1	,0)),
		HAUT_GAUCHE	(new Coordonnees(-1	,-1)),
		HAUT_DROITE	(new Coordonnees(1	,-1)),
		BAS_GAUCHE	(new Coordonnees(-1	,1)),
		BAS_DROITE	(new Coordonnees(1	,1));
		
		private Coordonnees direction;
		private Direction(Coordonnees direction) {this.direction=direction;}
		public Coordonnees getCoordonnees() { return direction; }
		public int getAbscisse(){return this.getCoordonnees().getAbscisse();}
		public int getOrdonnee(){return this.getCoordonnees().getOrdonnee();}
	}

Update Direction.java