protected override string RealExecute(FungeContext fungeContext) { var value = fungeContext.GetTopStackTopValues(1)[0]; fungeContext.SetDeltaVector(value == 0 ? Direction.SOUTH : Direction.NORTH); return(null); }
protected override string RealExecute(FungeContext fungeContext) { fungeContext.SetDeltaVector(_directions[Name]); return(null); }