Type Definition airmash_protocol::Energy

source · []
pub type Energy = f32;
Expand description

Energy unit.

Used to represent the energy of all players. While this unit can represent any floating point value, only values in the range [0, 1] are valid when sent to the client.