space_ex v0.8.0 SpaceEx.SpaceCenter.CargoBay
A cargo bay.
Obtained by calling SpaceEx.SpaceCenter.Part.cargo_bay/1.
Link to this section Summary
Functions
Whether the cargo bay is open
The part object for this cargo bay
Whether the cargo bay is open
The state of the cargo bay
Link to this section Functions
Link to this function
open(this)
Whether the cargo bay is open.
Returns: true or false
Link to this function
part(this)
The part object for this cargo bay.
Returns: a reference to a SpaceEx.SpaceCenter.Part object
Link to this function
set_open(this, value)
Whether the cargo bay is open.
Returns: :ok
Link to this function
state(this)
The state of the cargo bay.
Returns: a Elixir.SpaceEx.SpaceCenter.CargoBayState value in atom form