using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sandbox.ModAPI.Ingame { public interface IMyProgrammableBlock : IMyFunctionalBlock { /// /// This programmable block is currently running its program. /// bool IsRunning { get; } /// /// Contains the value of the default terminal argument. /// string TerminalRunArgument { get; } /// /// Attempts to run this programmable block using the given argument. An already running /// programmable block cannot be run again. /// This is equivalent to running block.ApplyAction("Run", argumentsList); /// /// /// true if the action was applied, false otherwise bool TryRun(string argument); } }