fix tipo error and create enum to represent instructions
This commit is contained in:
		
							parent
							
								
									e6433f48ae
								
							
						
					
					
						commit
						b811b1a1c1
					
				@ -1,8 +1,14 @@
 | 
				
			|||||||
enum Orientation {
 | 
					enum Orientations {
 | 
				
			||||||
    N,
 | 
					    N,
 | 
				
			||||||
    E,
 | 
					    E,
 | 
				
			||||||
    S,
 | 
					    S,
 | 
				
			||||||
    W,
 | 
					    W,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					enum Instructions {
 | 
				
			||||||
 | 
					    L,
 | 
				
			||||||
 | 
					    R,
 | 
				
			||||||
 | 
					    F,
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
fn main() {}
 | 
					fn main() {}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user