Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
WidgetEventArgs.cs
1namespace Gondwana.Widgets;
2
6public abstract class WidgetEventArgs : EventArgs
7{
14 protected WidgetEventArgs(WidgetBase widget, long tick)
15 {
16 Widget = widget ?? throw new ArgumentNullException(nameof(widget));
17 Tick = tick;
18 }
19
23 public WidgetBase Widget { get; }
24
28 public long Tick { get; }
29
33 public bool Handled { get; set; }
34}
Provides the base implementation for widgets that can be drawn and receive pointer,...
Definition WidgetBase.cs:12
bool Handled
Gets or sets whether this widget interaction was handled.
WidgetEventArgs(WidgetBase widget, long tick)
Initializes a new instance of the WidgetEventArgs class.
long Tick
Gets the engine or timer tick associated with the callback.
WidgetBase Widget
Gets the widget that raised the callback.