use egui::{Pos2, PointerButton};
use std::fmt::Debug;
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct ClickEvent {
pub button: PointerButton,
pub pos: Pos2
}
impl ClickEvent {
pub const fn new(button: PointerButton, pos: Pos2) -> Self {
Self { button, pos }
}
}