termcraft 0.1.0

Terminal-based 2D sandbox survival game
Documentation
pub struct Boat {
    pub x: f64,
    pub y: f64,
    pub vx: f64,
    pub vy: f64,
    pub grounded: bool,
    pub facing_right: bool,
    pub wobble_timer: u8,
}

impl Boat {
    pub fn new(x: f64, y: f64) -> Self {
        Self {
            x,
            y,
            vx: 0.0,
            vy: 0.0,
            grounded: false,
            facing_right: true,
            wobble_timer: 0,
        }
    }
}