ldtk_rust 0.1.0

Use the LDtk 2D level editor to build games in Rust.
Documentation
//! This library parses JSON generated by LDtk (Level Designers ToolKit) for use in Rust.
//! It is designed to be usable in any Rust program, including all game frameworks.
//!
//! Example:
//! ```
//! use ldtk_rust::LdtkFile;
//!
//! fn main() {
//!     let file_path = "assets/AutoLayers_4_Advanced.ldtk".to_string();
//!     let ldtk = LdtkFile::new(file_path);
//!     println!("First level pixel height is {}!", ldtk.levels[0].px_hei);
//! }
//! ```
//!
//! See /examples directory for more.
//!

mod defs;
pub mod ldtk_file;
mod levels;

pub use defs::*;
pub use ldtk_file::LdtkFile;
pub use levels::*;