示例#1
0
 private void GoButton_Click(object sender, EventArgs e)
 {
     wrapper.SendCommand(CommandLine.Text);
     CommandLine.Text = "";
     AddOutput();
     CommandLine.Focus();
 }
        public void Perform(string text)
        {
            _fyreVmWrapper.SendCommand(text);

            CurrentMainText = _fyreVmWrapper.FromHash("MAIN");
            SendMainStateChanged();

            var eventText = _fyreVmWrapper.FromHash("EVNT");

            if (eventText != "")
            {
                SendEventOccurred(eventText);
            }
        }
        public void InitialScene()
        {
            _fyreVmWrapper.SendCommand(_dGlulxCommands[eGlulxCommands.Look]);

            ProcessLocationGlulxOutput(_fyreVmWrapper.FromHash());
        }