Daedalus Dock - Modules - TypesVar Details - Proc Details

connection

Vars

stateInvalid or Valid

Procs

directReturns 1 if no doors are in between A and B.
eraseCalled by update() and connection_manager/erase_all(). Marks the connection as erased and removes it from its edge.
mark_directUnmarks this connection as direct. Does not update the edge. Called by update() as a correction.
mark_indirectUnmarks this connection as direct. Does not update the edge. Called by update() as a correction.
mark_unsimulatedMarks this connection as unsimulated. Updating the connection will check the validity of this. See file header for more information.
updateMakes numerous checks to decide whether the connection is still valid. Erases it automatically if not.
validReturns 1 if the connection has not been erased.

Var Details

state

Invalid or Valid

Proc Details

direct

Returns 1 if no doors are in between A and B.

erase

Called by update() and connection_manager/erase_all(). Marks the connection as erased and removes it from its edge.

mark_direct

Unmarks this connection as direct. Does not update the edge. Called by update() as a correction.

mark_indirect

Unmarks this connection as direct. Does not update the edge. Called by update() as a correction.

mark_unsimulated

Marks this connection as unsimulated. Updating the connection will check the validity of this. See file header for more information.

update

Makes numerous checks to decide whether the connection is still valid. Erases it automatically if not.

valid

Returns 1 if the connection has not been erased.