generated from GarandPLG/rust-flake-template
cd1822d05e
Refactor App, GameStates, SkirmishState and BoardState to carry a generic lifetime `'a`. Introduce a new `MarkedCells` type that holds marking state and selected unit, replacing the previous `marking_cells` flag and raw deque. Update related methods, keybindings, view implementations and module exports to use the new structures.
19 lines
397 B
Rust
19 lines
397 B
Rust
mod board;
|
|
mod focused_cell;
|
|
mod game_mode;
|
|
mod marked_cells;
|
|
mod offset;
|
|
mod players;
|
|
pub mod structures;
|
|
pub mod tasks;
|
|
pub mod units;
|
|
pub mod zoom_level;
|
|
|
|
pub use board::BoardState;
|
|
pub use focused_cell::{FocusedCell, MoveFocusedCell};
|
|
pub use game_mode::GameMode;
|
|
pub use marked_cells::MarkedCells;
|
|
pub use offset::Offset;
|
|
pub use players::Players;
|
|
pub use zoom_level::{CellSizes, ZoomLevel};
|