fn main() {
let map = nomap::parse::<nomap::formats::Standard>(include_str!("example.map")).unwrap();
for ent in map.entities.iter() {
println!(
"Found entity of class `{}` with {} brush{}",
ent.fields["classname"],
ent.brushes.len(),
if ent.brushes.len() == 1 { "" } else { "es" }
)
}
}