|interact||Called when a user clicks on this switch with an open hand.|
|update_linked_conveyors||Updates all conveyor belts that are linked to this switch, and tells them to start processing.|
|update_linked_switches||Finds any switches with same |
|update_position||Updates the switch's |
Called when a user clicks on this switch with an open hand.
Updates all conveyor belts that are linked to this switch, and tells them to start processing.
Finds any switches with same
id as this one, and set their position and icon to match us.
Updates the switch's
last_pos variable. Useful so that the switch can properly cycle between the forwards, backwards and neutral positions.