1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! Vehicle-related components.

use typed_builder::TypedBuilder;

use crate::{units, SetupEcs};

/// A component applied on a node that drives a rail.
#[derive(TypedBuilder, getset::CopyGetters)]
pub struct RailPump {
    /// The force provided by the pump.
    #[getset(get_copy = "pub")]
    force: units::RailForce,
}

/// Initializes ECS
pub fn setup_ecs(setup: SetupEcs) -> SetupEcs { setup }