Files
space-engineers/Ingame/IMyDoor.cs
2022-05-18 19:57:23 +03:00

21 lines
491 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sandbox.ModAPI.Ingame
{
public interface IMyDoor : IMyFunctionalBlock
{
/// <summary>
/// Indicates whether door is opened or closed. True when door is opened.
/// </summary>
bool Open { get; }
/// <summary>
/// Door state, zero is fully closed. One is fully opened.
/// </summary>
float OpenRatio { get; }
}
}