public void SendSingleInstruction(HLInstruction instruction)
 {
     SendInstructions(new List <HLInstruction>()
     {
         instruction
     });
 }
Exemple #2
0
        /// <summary>
        /// Translates a High Level Instruction into a Low Level Instruction
        /// </summary>
        public static LLInstruction Translate(this HLInstruction hlInstruction)
        {
            var hlState = hlInstruction.TargetHLMachineState;

            return(new LLInstruction(hlState.Translate(), hlInstruction.MoveTime, hlInstruction.IsLevelingInstruction));
        }