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.TileCollider Class Referencesealed
Inheritance diagram for Gondwana.Collision.TileCollider:
Gondwana.Collision.ICollider

Public Member Functions

 TileCollider (Tile tile, int layerMask, int collidesWithMask, bool isStatic=false)

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.).

Constructor & Destructor Documentation

◆ TileCollider()

Gondwana.Collision.TileCollider.TileCollider ( Tile tile,
int layerMask,
int collidesWithMask,
bool isStatic = false )

Property Documentation

◆ BoundsWorldPx

Aabb Gondwana.Collision.TileCollider.BoundsWorldPx
get

World-space AABB in scene world pixels.

Implements Gondwana.Collision.ICollider.

◆ CollidesWithMask

int Gondwana.Collision.TileCollider.CollidesWithMask
get

Bitmask of what this collider collides with.

Implements Gondwana.Collision.ICollider.

◆ IsStatic

bool Gondwana.Collision.TileCollider.IsStatic
get

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

Implements Gondwana.Collision.ICollider.

◆ LayerMask

int Gondwana.Collision.TileCollider.LayerMask
get

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

Implements Gondwana.Collision.ICollider.

◆ Owner

Tile Gondwana.Collision.TileCollider.Owner
get

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

Implements Gondwana.Collision.ICollider.