Event payload for single tile selection. More...
#include <canvas_events.h>
Public Member Functions | |
| void | Reset () |
Public Attributes | |
| ImVec2 | tile_position |
| Selected tile position (grid coords) | |
| int | tile_id = -1 |
| Selected tile ID. | |
| bool | is_valid = false |
| True if selection is valid. | |
Event payload for single tile selection.
Represents selecting a single tile, typically from a right-click.
Definition at line 67 of file canvas_events.h.
|
inline |
Definition at line 72 of file canvas_events.h.
References is_valid, tile_id, and tile_position.
Referenced by yaze::gui::CanvasInteractionEvents::Reset().
| ImVec2 yaze::gui::TileSelectionEvent::tile_position |
Selected tile position (grid coords)
Definition at line 68 of file canvas_events.h.
Referenced by Reset().
| int yaze::gui::TileSelectionEvent::tile_id = -1 |
| bool yaze::gui::TileSelectionEvent::is_valid = false |
True if selection is valid.
Definition at line 70 of file canvas_events.h.
Referenced by yaze::gui::CanvasInteractionEvents::HasAnyEvent(), and Reset().