using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sandbox.ModAPI.Ingame { public interface IMyMotorBase : IMyFunctionalBlock { /// /// Gets if the piston top is attached to something /// bool IsAttached { get; } /// /// Gets if the motor stator is looking for a rotor /// bool PendingAttachment { get; } /// /// Attempts to attach to a nearby rotor/wheel /// void Attach(); /// /// Detaches the rotor/wheel from the stator/suspension /// void Detach(); } }