first commit
This commit is contained in:
		
				commit
				
					
						63354c563f
					
				
			
		
					 19 changed files with 885 additions and 0 deletions
				
			
		
							
								
								
									
										29
									
								
								src/main/java/de/lunarakai/minecleaner/game/Cell.java
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								src/main/java/de/lunarakai/minecleaner/game/Cell.java
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| package de.lunarakai.minecleaner.game; | ||||
| 
 | ||||
| import org.joml.Vector3i; | ||||
| 
 | ||||
| public class Cell { | ||||
|     public enum CellType { | ||||
|         Invalid, | ||||
|         Empty, | ||||
|         Mine, | ||||
|         Number, | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     public Vector3i position; | ||||
|     public CellType type; | ||||
|     public int number; | ||||
|     public boolean revealed; | ||||
|     public boolean flagged; | ||||
|     public boolean exploded; | ||||
| 
 | ||||
|     public void setType(CellType type) { | ||||
|         this.type = type; | ||||
|     } | ||||
| 
 | ||||
|     public CellType getType() { | ||||
|         return type; | ||||
|     } | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue