#[derive(Debug, Clone, PartialEq)]
#[non_exhaustive]
pub struct NekoMode {
pub walk: bool,
pub seed: u64,
pub knock_chance: f32,
pub burst_chance: f32,
pub punch_chance: f32,
pub walk_speed: f32,
}
impl NekoMode {
setters! {
walk: bool;
seed: u64;
knock_chance: f32;
burst_chance: f32;
punch_chance: f32;
walk_speed: f32;
}
}
impl Default for NekoMode {
fn default() -> Self {
Self {
walk: true,
seed: 0,
knock_chance: 0.15,
burst_chance: 0.05,
punch_chance: 0.12,
walk_speed: 8.0,
}
}
}