generated from tipragot/rust
change doc
This commit is contained in:
parent
3d25021fde
commit
7b348fa5b1
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue