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.Collision.ICollider Interface Reference

World-space axis-aligned collider used by the collision system. More...

Inheritance diagram for Gondwana.Collision.ICollider:
Gondwana.Collision.TileCollider

Properties

Aabb BoundsWorldPx [get]
 World-space AABB in scene world pixels.
bool IsStatic [get]
 True for static, non-moving colliders (walls, tiles, etc.). False for dynamic objects (player, NPCs, projectiles).
int LayerMask [get]
 Bitmask identifying what this collider is (e.g., Player = 1, World = 2, Enemy = 4, etc.).
int CollidesWithMask [get]
 Bitmask of what this collider collides with.
Tile Owner [get]
 Back-reference to owning object (Sprite, Tile, etc.).

Detailed Description

World-space axis-aligned collider used by the collision system.

Property Documentation

◆ BoundsWorldPx

Aabb Gondwana.Collision.ICollider.BoundsWorldPx
get

World-space AABB in scene world pixels.

Implemented in Gondwana.Collision.TileCollider.

◆ CollidesWithMask

int Gondwana.Collision.ICollider.CollidesWithMask
get

Bitmask of what this collider collides with.

Implemented in Gondwana.Collision.TileCollider.

◆ IsStatic

bool Gondwana.Collision.ICollider.IsStatic
get

True for static, non-moving colliders (walls, tiles, etc.). False for dynamic objects (player, NPCs, projectiles).

Implemented in Gondwana.Collision.TileCollider.

◆ LayerMask

int Gondwana.Collision.ICollider.LayerMask
get

Bitmask identifying what this collider is (e.g., Player = 1, World = 2, Enemy = 4, etc.).

Implemented in Gondwana.Collision.TileCollider.

◆ Owner

Tile Gondwana.Collision.ICollider.Owner
get

Back-reference to owning object (Sprite, Tile, etc.).

Implemented in Gondwana.Collision.TileCollider.