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
ITouchAdapter.cs
2
9public interface ITouchAdapter
10{
19 IReadOnlyList<TouchPoint> ConsumeBeganTouches() => Array.Empty<TouchPoint>();
20
26 IReadOnlyList<TouchPoint> ActiveTouches { get; }
27
38 IReadOnlyList<TouchPoint> ConsumeEndedTouches();
39}
Defines a passive adapter interface for accessing touch device state. Implementations update their in...
IReadOnlyList< TouchPoint > ActiveTouches
Gets the list of touch contact points that are currently active (in contact with the surface)....
IReadOnlyList< TouchPoint > ConsumeEndedTouches()
Drains and returns all touch contacts that ended (lifted or cancelled) since the last call....
IReadOnlyList< TouchPoint > ConsumeBeganTouches()
Drains and returns all touch contacts that began since the last call. Keeping beginnings in a queue p...
readonly record struct TouchPoint(int Id, Point Position, TouchPhase Phase)
Represents a single touch contact point, capturing its unique identifier, screen position,...