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 Namespace Reference

Namespaces

namespace  Animation
namespace  Collisions
namespace  Coordinates
namespace  Direct
namespace  Sprites
namespace  Tilesheets

Classes

struct  Frame
 Represents the source Tilesheet and its coordinates to render on a destination. More...
interface  IDrawable
 Represents an object that can be drawn on a visual surface, with properties for visibility and stacking order. More...
class  Tile
 Represents an abstract base class for drawable tiles in the Gondwana engine. Provides core functionality for rendering, animation, collision detection, and scene layer integration. More...

Functions

record struct Overhang (int Left, int Top, int Right, int Bottom)
 Represents the overhang dimensions (in pixels) that extend beyond a tile's primary area. Overhang values define how much a tile's visual representation exceeds its logical boundaries in each direction (left, top, right, and bottom).

Function Documentation

◆ Overhang()

record struct Gondwana.Drawing.Overhang ( int Left,
int Top,
int Right,
int Bottom )

Represents the overhang dimensions (in pixels) that extend beyond a tile's primary area. Overhang values define how much a tile's visual representation exceeds its logical boundaries in each direction (left, top, right, and bottom).

Parameters
LeftThe number of pixels the tile extends beyond its left boundary.
TopThe number of pixels the tile extends beyond its top boundary.
RightThe number of pixels the tile extends beyond its right boundary.
BottomThe number of pixels the tile extends beyond its bottom boundary.

Represents an overhang with no extension in any direction (all values are zero).

Gets a value indicating whether this overhang has no extension in any direction. Returns true if all overhang values (Left, Top, Right, Bottom) are zero; otherwise, false.