added turtle instruction set
This commit is contained in:
		
							parent
							
								
									a5c023c78a
								
							
						
					
					
						commit
						dffb493d4f
					
				
							
								
								
									
										17
									
								
								src/lib/turtle/TurtleInstruction.hx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/lib/turtle/TurtleInstruction.hx
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
			
		||||
package lib.turtle;
 | 
			
		||||
 | 
			
		||||
import kernel.turtle.Types.InteractDirections;
 | 
			
		||||
import kernel.turtle.Types.TurtleSlot;
 | 
			
		||||
 | 
			
		||||
enum TurtleInstruction {
 | 
			
		||||
	Forward;
 | 
			
		||||
	Back;
 | 
			
		||||
	Up;
 | 
			
		||||
	Down;
 | 
			
		||||
	TurnLeft;
 | 
			
		||||
	TurnRight;
 | 
			
		||||
	Dig(dir: InteractDirections);
 | 
			
		||||
	Place(dir: InteractDirections);
 | 
			
		||||
	PlacseSign(dir: InteractDirections, text: String);
 | 
			
		||||
	Select(slot: TurtleSlot);
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user