We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606138a commit 60cf601Copy full SHA for 60cf601
client/src/unit_ui.rs
@@ -63,7 +63,7 @@ pub fn draw_units(game: &Game) {
63
pub trait UnitSelection: ConfirmSelection {
64
fn selected_units(&self) -> &[u32];
65
fn selected_units_mut(&mut self) -> &mut Vec<u32>;
66
- fn can_select(&self, game: &Game, unit: &Unit) -> bool; // todo return Option<String> for why not
+ fn can_select(&self, game: &Game, unit: &Unit) -> bool;
67
fn current_tile(&self) -> Option<Position>;
68
}
69
0 commit comments