movingai 0.1.0

MovingAI Benchmark Map/Scen File Parser
Documentation

movingai-rust

Still a very experimental crate!

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.

How to use

extern crate movingai;

use movingai::parser::parse_map_file;

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