x and y should be public
This commit is contained in:
		
							parent
							
								
									c422060faf
								
							
						
					
					
						commit
						555a0ff6b8
					
				@ -1,5 +1,5 @@
 | 
				
			|||||||
/// The World is represented here.
 | 
					/// The World is represented here.
 | 
				
			||||||
pub struct World {
 | 
					pub struct World {
 | 
				
			||||||
    x: i32,
 | 
					    pub x: i32,
 | 
				
			||||||
    y: i32,
 | 
					    pub y: i32,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user