generated from tipragot/rust
Click-on tile handle system #74
|
@ -10,7 +10,7 @@ use super::Tile;
|
||||||
#[derive(Event)]
|
#[derive(Event)]
|
||||||
pub struct TileJustClicked(pub u32);
|
pub struct TileJustClicked(pub u32);
|
||||||
|
|
||||||
/// A event that is triggered when a mouse button is clicked.
|
/// An event that is triggered when a mouse button is clicked.
|
||||||
///
|
///
|
||||||
/// The event contains the position of the cursor in the world.
|
/// The event contains the position of the cursor in the world.
|
||||||
#[derive(Event)]
|
#[derive(Event)]
|
||||||
|
|
Loading…
Reference in a new issue