Gondwana Game Engine
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, mobile, and web platforms using SkiaSharp for graphics and NAudio for sound.
Loading...
Searching...
No Matches
Gondwana.Drawing.Collisions.CollisionDetectionAdjustment Struct Reference

Pixel adjustments applied to a Tile's DrawLocation to produce its collision box. Positive values shrink/expand the collision rect relative to the visual rect. More...

Public Member Functions

 CollisionDetectionAdjustment (int top, int bottom, int left, int right)

Static Public Attributes

static readonly CollisionDetectionAdjustment None = new()

Properties

int Top [get, set]
int Bottom [get, set]
int Left [get, set]
int Right [get, set]

Detailed Description

Pixel adjustments applied to a Tile's DrawLocation to produce its collision box. Positive values shrink/expand the collision rect relative to the visual rect.

Constructor & Destructor Documentation

◆ CollisionDetectionAdjustment()

Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.CollisionDetectionAdjustment ( int top,
int bottom,
int left,
int right )

Member Data Documentation

◆ None

readonly CollisionDetectionAdjustment Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.None = new()
static

Property Documentation

◆ Bottom

int Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.Bottom
getset

◆ Left

int Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.Left
getset

◆ Right

int Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.Right
getset

◆ Top

int Gondwana.Drawing.Collisions.CollisionDetectionAdjustment.Top
getset