use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Clone)]
#[cfg_attr(target_family = "wasm", derive(tsify_next::Tsify))]
#[cfg_attr(
target_family = "wasm",
tsify(into_wasm_abi, from_wasm_abi, large_number_types_as_bigints)
)]
pub struct Terra {
/// Symbol displayed on the map.
pub sym: char,
/// Time used to pass, in APs. `None` for terrains that block movement.
pub mv_time: Option<i16>,
/// [0,1], 0 for completely transparently and 1 for completely opaque.
pub opaque: f32,
}