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
Spacing.cs
1using Newtonsoft.Json;
2
3namespace Gondwana.Drawing;
4
12public record struct Spacing(
13 [property: JsonProperty("left")] int Left,
14 [property: JsonProperty("top")] int Top,
15 [property: JsonProperty("right")] int Right,
16 [property: JsonProperty("bottom")] int Bottom)
17{
21 public static readonly Spacing None = new(0, 0, 0, 0);
22
28 [JsonIgnore]
29 public readonly bool IsEmpty => Left == 0 && Top == 0 && Right == 0 && Bottom == 0;
30}
record struct Spacing([property:JsonProperty("left")] int Left, [property:JsonProperty("top")] int Top, [property:JsonProperty("right")] int Right, [property:JsonProperty("bottom")] int Bottom)
Represents dimensions in pixels when spacing Tilesheets.
Definition Spacing.cs:12
@ None
No engine state parts are selected. This represents an empty or null state selection,...