movingai-rust

Travis Build Cargo Version

Still in development! Help is encouraged for stabilizing the API.

Map/Scenario Parser for the MovingAI benchmark format. It offers a quick way to parse scenario and map files, plus some map utility to manage and query information from them.

Map Features

The create not only parse a map and scene file, it also provide an object for easy interacting with it.

Some of the functionalities are:

How to use

```rust extern crate movingai;

use movingai::parser::parsemapfile;

fn main() { let map = parsemapfile("./test/arena.map").unwrap(); let width = map.get_width(); let tile = map[(4,5)]; // Access map location at row 4 and column 5. } ```