generated from GarandPLG/rust-flake-template
20 lines
455 B
Rust
20 lines
455 B
Rust
use crate::app::states::skirmish_states::units::Units;
|
|
use std::collections::VecDeque;
|
|
|
|
#[derive(Debug, Clone, PartialEq)]
|
|
pub struct MarkedCells {
|
|
pub marking_cells: bool,
|
|
pub marked_cells: VecDeque<(usize, usize)>,
|
|
pub selected_unit: Option<Units>,
|
|
}
|
|
|
|
impl MarkedCells {
|
|
pub fn new() -> Self {
|
|
Self {
|
|
marking_cells: false,
|
|
marked_cells: VecDeque::new(),
|
|
selected_unit: None,
|
|
}
|
|
}
|
|
}
|