Skip to main content

Module prelude

Module prelude 

Source

Re-exports§

pub use super::TerrainNavigator;

Structs§

Indoors
Whether a walking entity is in a pressurized place. It flips once an airlock cycle is over, e.g. to swap a colonist between its suit and indoor models.
NavAgent
Body of a walking entity: agents keep radius away from each other.
NavBase
Linked buildings sharing at least one control room.
NavBuilding
A placed building in the colony network.
NavGrid
Colony network of all placed buildings, rebuilt when a building is placed or removed.
NavNeighbor
Link from an anchor of a building to the anchor of a neighbor.
WalkSpeeds
Walking speeds: a base speed scaled by a factor depending on the terrain walked on. The path search minimizes the walking time, so colonists prefer paths and tunnels over bare ground.

Constants§

AIRLOCK_ROLE
Placement role of the buildings linking the outdoors to the tunnel network.
CONTROL_ROOM_ROLE
Placement role of the building that defines a base.