Skip to main content

mln_engine/
map_mode.rs

1/// Whether the map draws frames as it changes or one still image, which a
2/// source and a layout load and lay out tiles for.
3#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, mln_wire::Wire)]
4#[repr(u32)]
5pub enum MapMode {
6    /// continually updating map
7    #[default]
8    Continuous,
9    /// a once-off still image of an arbitrary viewport
10    Static,
11    /// a once-off still image of a single tile
12    Tile,
13}