public override Compiler.Variable runFunction(Compiler.Scope currentScope, Compiler.Variable[] inputParas, int lineNumber) { CarQueue.DriveQueueForward(); CarQueue.DriveFirstCarShort(); return(new Compiler.Variable()); }
public override Variable runFunction(Scope currentScope, Variable[] inputParas, int lineNumber) { SortedQueue.ForwardQueue.Add(CarQueue.GetFirstCar()); CarQueue.DriveQueueForward(); CarQueue.DriveFirstCarStraight(); return(new Variable()); }