예제 #1
0
    public override Compiler.Variable runFunction(Compiler.Scope currentScope, Compiler.Variable[] inputParas, int lineNumber)
    {
        CarQueue.DriveQueueForward();
        CarQueue.DriveFirstCarShort();

        return(new Compiler.Variable());
    }
예제 #2
0
    public override Variable runFunction(Scope currentScope, Variable[] inputParas, int lineNumber)
    {
        SortedQueue.ForwardQueue.Add(CarQueue.GetFirstCar());

        CarQueue.DriveQueueForward();
        CarQueue.DriveFirstCarStraight();

        return(new Variable());
    }