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.Movement.IMovable Interface Reference

Defines an object that can be moved within a specific coordinate space. More...

Inheritance diagram for Gondwana.Movement.IMovable:
Gondwana.Drawing.Direct.DirectComposite Gondwana.Drawing.Direct.DirectDrawingMovableBase Gondwana.Movement.IMovableOnSceneLayer Gondwana.Drawing.Direct.DirectImage Gondwana.Drawing.Direct.DirectRectangle Gondwana.Drawing.Direct.Particles.ParticleSurface Gondwana.Drawing.Direct.TextBlock

Public Member Functions

Vector2 GetPosition ()
 Get the current position in the mover's PositionSpace.
void SetPosition (Vector2 pos)
 Set the position in the mover's PositionSpace.

Properties

MovementSpace PositionSpace [get]
 Which unit system this mover uses for its position.

Detailed Description

Defines an object that can be moved within a specific coordinate space.

The IMovable interface provides methods to retrieve and update the position of an object in a defined MovementSpace. Implementations of this interface are expected to handle position-related operations consistently within the specified coordinate system.

Member Function Documentation

◆ GetPosition()

Vector2 Gondwana.Movement.IMovable.GetPosition ( )

◆ SetPosition()

void Gondwana.Movement.IMovable.SetPosition ( Vector2 pos)

Property Documentation

◆ PositionSpace

MovementSpace Gondwana.Movement.IMovable.PositionSpace
get

Which unit system this mover uses for its position.

Implemented in Gondwana.Drawing.Direct.DirectComposite, and Gondwana.Drawing.Direct.DirectDrawingMovableBase.