Exemplo n.º 1
0
        protected override string RealExecute(FungeContext fungeContext)
        {
            fungeContext.MoveOnce();
            var fetched = fungeContext.GetCurrentCommandName();

            fungeContext.PushToTopStack(fetched);
            return(null);
        }
Exemplo n.º 2
0
        public string NextTick()
        {
            var commandName = _executionContext.GetCurrentCommandName();

            return(_commandProducer.GetCommand(commandName).Execute(_executionContext));
        }