mrg 0.2.2

A library for parsing and serializing Gravity Defied levels
Documentation
mod deserializer;
mod point;
mod serializer;

#[derive(Clone, Default)]
pub struct Mrg {
    pub easy: Difficulty,
    pub normal: Difficulty,
    pub hard: Difficulty,
}

#[derive(Clone)]
pub struct Track {
    pub name: String,
    pub start: Point,
    pub finish: Point,
    pub points: Vec<Point>,
}

#[derive(Clone, Default)]
pub struct Difficulty {
    pub tracks: Vec<Track>,
}

#[derive(Clone)]
pub struct Point {
    pub x: i32,
    pub y: i32,
}