Create player object
This commit is contained in:
		
							
								
								
									
										7
									
								
								server/plugin/entities/entities.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								server/plugin/entities/entities.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
package entities
 | 
			
		||||
 | 
			
		||||
// PlayerEntity is the go struct representing the player's location
 | 
			
		||||
type PlayerEntity struct {
 | 
			
		||||
	X int
 | 
			
		||||
	Y int
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user