Class AirlockController
Represents airlock.
public class AirlockController
- Inheritance
-
AirlockController
- Inherited Members
- Extension Methods
Constructors
AirlockController(AirlockController)
Initializes a new instance of the AirlockController class.
public AirlockController(AirlockController controller)
Parameters
controller
AirlockControllerBase-game controller.
Properties
AirlockDisabled
Gets or sets a value indicating whether or airlock is disabled.
public bool AirlockDisabled { get; set; }
Property Value
Base
Gets the basegame controller.
public AirlockController Base { get; }
Property Value
- AirlockController
DoorA
Gets the first subdoor.
public Door DoorA { get; }
Property Value
DoorB
Gets the second subdoor.
public Door DoorB { get; }
Property Value
DoorsLocked
Gets or sets a value indicating whether both subdoors are locked.
public bool DoorsLocked { get; set; }
Property Value
List
Gets the list with all airlocks.
public static IReadOnlyCollection<AirlockController> List { get; }
Property Value
Methods
Get(Door)
Gets the AirlockController by one of it's subdoors.
public static AirlockController Get(Door door)
Parameters
door
DoorSubdoor.
Returns
- AirlockController
Instance of AirlockController.
Get(AirlockController)
Gets the AirlockController by its base-game controller.
public static AirlockController Get(AirlockController controller)
Parameters
controller
AirlockControllerBase-game controller.
Returns
- AirlockController
Instance of AirlockController.
ToString()
Returns the Door in a human-readable format.
public override string ToString()
Returns
- string
A string containing Door-related data.
Toggle()
Toggles airlock.
public void Toggle()