flatland-client-ui 0.2.9

Engine-agnostic play client UI state (world grid, input, presentation)
Documentation
//! Engine-agnostic play client UI (world grid, input, presentation).

mod app;
mod color;
mod hud;
mod input;
mod keybindings;
mod keymap;
mod layout;
mod map_presentation;
mod rotation_editor;
mod world;

pub use app::{
    ActiveOverlay, InputAction, MapTargetState, MovementInput, MovementState, MOVEMENT_IDLE_TIMEOUT,
};
pub use color::{parse_color, RgbColor};
pub use hud::{HudViewMode, PlayHud};
pub use input::{
    UiKeyCode, UiKeyEvent, UiKeyEventKind, UiKeyModifiers, UiMouseButton, UiPointerEvent,
};
pub use keybindings::{format_keybindings_plain, KeyBinding, KeyBindingCategory, CATEGORIES};
pub use keymap::{combat_action_for_key, key_matches, CombatKeyAction};
pub use layout::{hud_layout, HudLayout, NormRect};
pub use map_presentation::{
    chest_presentation, corpse_presentation, door_presentation, entity_fallback,
    format_map_legend_plain, loot_presentation, map_legend_entries, maybe_reload_for_content_rev,
    npc_for, player_presentation, quest_board_presentation, reload_map_presentation_catalog,
    resource_for, shallow_water_presentation, terrain_for, terrain_for_elevation, terrain_for_zone,
    wall_presentation, well_center_presentation, MapLegendEntry, MapPresentation,
};
pub use rotation_editor::{next_custom_preset, preset_deletable, EDITOR_ABILITIES};
pub use world::{grid_to_world, WorldView, WorldViewOptions};