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
IMouseAdapter.cs
1using System.Drawing;
3
5
12public interface IMouseAdapter
13{
19 Point CurrentPosition { get; }
20
27 HashSet<MouseButton> PressedButtons { get; }
28
35
42 int ScrollDelta { get; } // Positive = scroll up, negative = scroll down
43}
Defines an adapter interface for accessing mouse device state, including cursor position,...
int ScrollDelta
Gets the accumulated scroll wheel delta since the last poll, measured in implementation-defined units...
KeyboardModifierState CurrentKeyboardModifiers
Gets the current state of keyboard modifier keys (Shift, Ctrl, Alt) at the time of mouse input....
HashSet< MouseButton > PressedButtons
Gets the set of mouse buttons that are currently pressed. This collection includes identifiers for al...
Point CurrentPosition
Gets the current position of the mouse cursor in screen or client coordinates, depending on the imple...
KeyboardModifierState
Represents the state of keyboard modifier keys (Shift, Ctrl, Alt) that can be pressed simultaneously ...