Pair Programming Bamba David Vincent
This commit is contained in:
		
							
								
								
									
										5
									
								
								src/main/java/model/TerrainType.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/main/java/model/TerrainType.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
package model;
 | 
			
		||||
 | 
			
		||||
public enum TerrainType {
 | 
			
		||||
    MER, CHAMP, PRE, FORET, MONTAGNE
 | 
			
		||||
}
 | 
			
		||||
@@ -3,10 +3,6 @@ package model;
 | 
			
		||||
import java.util.Random;
 | 
			
		||||
 | 
			
		||||
public class Tile {
 | 
			
		||||
    public enum TerrainType {
 | 
			
		||||
        MER, CHAMP, PRE, FORET, MONTAGNE
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private TerrainType[] terrains;  // 4 terrains pour chaque quart de la tuile
 | 
			
		||||
    private static final Random random = new Random();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user