Improve selection system #78

Merged
CoCo_Sol merged 14 commits from improve-selection into main 2024-03-19 15:08:43 +00:00
Showing only changes of commit 7b348fa5b1 - Show all commits

View file

@ -28,7 +28,7 @@ pub enum SelectedTile {
}
impl SelectedTile {
/// Returns the index (ID) of the selected tile.
/// Returns the entity of the selected tile.
/// Returns `None` if no tile is selected.
pub const fn get_entity(&self) -> Option<Entity> {
match self {