public void SendSingleInstruction(HLInstruction instruction) { SendInstructions(new List <HLInstruction>() { instruction }); }
/// <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)); }