minui 0.6.3

A minimalist framework for building terminal UIs in Rust.
//! Map and level layout management system (planned feature).
//!
//! This module provides tools for creating, loading, and managing game maps and levels.
//! It supports both tile-based and object-based level design approaches.
//!
//! ## Planned Features
//!
//! - **Map Storage**: Efficient storage of large game maps
//! - **Level Loading**: Support for various map file formats
//! - **Procedural Generation**: Algorithms for generating maps
//! - **Map Layers**: Multiple rendering and collision layers
//! - **Viewport Management**: Scrolling and camera control
//! - **Map Editing**: Runtime map modification capabilities
//!
//! ## Future API Design
//!
//! ```rust,ignore
//! use minui::game::map::{Map, Layer, Viewport};
//! use minui::game::tile::Tile;
//!
//! // Create a new map
//! let mut map = Map::new(100, 50) // 100x50 tiles
//!     .with_layer("background", Layer::new())
//!     .with_layer("collision", Layer::new())
//!     .with_layer("foreground", Layer::new());
//!
//! // Load from file
//! let map = Map::load_from_file("levels/level1.map")?;
//!
//! // Generate procedurally
//! let dungeon = Map::generate_dungeon(
//!     80, 24,
//!     DungeonGenerator::new()
//!         .with_room_count(5..10)
//!         .with_corridor_width(1)
//! )?;
//!
//! // Create viewport for scrolling
//! let mut viewport = Viewport::new(0, 0, 40, 20)
//!     .with_map(&map)
//!     .with_follow_target(player_position);
//!
//! // Render visible portion
//! viewport.draw(window)?;
//! ```
//!
//! ## Map File Format
//!
//! ```text,ignore
//! # Example map file format
//! width: 20
//! height: 10
//!
//! background:
//! ................................
//! .##############################.
//! .#............................#.
//! .#...@....................E...#.
//! .#............................#.
//! .##############################.
//! ................................
//!
//! collision:
//! 00111111111111111111111111111100
//! 01000000000000000000000000000010
//! 01000000000000000000000000000010
//! 01000000000000000000000000000010
//! 01111111111111111111111111111110
//! 00000000000000000000000000000000
//! ```

// TODO: Implement map and level management system
// This will include map storage, loading, generation, and viewport management