![]() |
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.
|
Defines an object that can be moved within a specific coordinate space. More...
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. | |
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.
| Vector2 Gondwana.Movement.IMovable.GetPosition | ( | ) |
Get the current position in the mover's PositionSpace.
Implemented in Gondwana.Drawing.Direct.DirectComposite, and Gondwana.Drawing.Direct.DirectDrawingMovableBase.
| void Gondwana.Movement.IMovable.SetPosition | ( | Vector2 | pos | ) |
Set the position in the mover's PositionSpace.
Implemented in Gondwana.Drawing.Direct.DirectComposite, and Gondwana.Drawing.Direct.DirectDrawingMovableBase.
|
get |
Which unit system this mover uses for its position.
Implemented in Gondwana.Drawing.Direct.DirectComposite, and Gondwana.Drawing.Direct.DirectDrawingMovableBase.