![]() |
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.
|
Classes | |
| class | EngineSimulationClock |
| Supplies the fixed simulation clock to update-side objects while timer-driven mode is active. | |
| class | FixedStepAccumulator |
| Converts irregular externally driven ticks into bounded batches of fixed simulation steps. | |
| class | HighResTimer |
| Provides utility methods for working with the system's high-resolution timer. | |
| class | Timer |
| Represents a high-resolution timer that can trigger events at specified intervals and supports various timer types and cycles. This class is designed to be used within the Gondwana engine. More... | |
Enumerations | |
| enum | TimerCycles { Once , Repeating } |
| Specifies the cycle behavior of a Timer, determining whether it executes once or repeatedly at its configured interval. More... | |
| enum | TimerType { PreCycle , PostCycle } |
| Specifies when a Timer should have its Timer.Tick event raised relative to the engine's main update and render cycle. This controls the execution timing of timer events within each engine cycle. More... | |
Specifies the cycle behavior of a Timer, determining whether it executes once or repeatedly at its configured interval.
This enumeration is used when creating timers to control their lifecycle behavior. A Once timer will automatically be removed after its first execution, while a Repeating timer will continue to raise events until explicitly removed or disposed.
Definition at line 13 of file TimerCycles.cs.
Specifies when a Timer should have its Timer.Tick event raised relative to the engine's main update and render cycle. This controls the execution timing of timer events within each engine cycle.
The engine's cycle is divided into two main phases: background tasks (which include input polling, animation updates, and movement processing) and foreground tasks (which include rendering and presentation). Timers can be configured to execute during either phase.
PreCycle timers are raised during the background task phase before any rendering occurs, making them suitable for game logic, state updates, and input processing. PostCycle timers are raised after the foreground render phase completes, making them suitable for post-render operations, diagnostics, and deferred cleanup tasks.
Definition at line 21 of file TimerType.cs.