Gondwana Game Engine Development (master) - 2.6.1
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 and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
SpriteMovedEventArgs.cs
1using System.Drawing;
2
4
8public class SpriteMovedEventArgs : EventArgs
9{
13 public Sprite sprite;
14
18 public PointF oldPt;
19
23 public PointF newPt;
24
31 protected internal SpriteMovedEventArgs(Sprite _sprite, PointF _oldPt, PointF _newPt)
32 {
33 sprite = _sprite;
34 oldPt = _oldPt;
35 newPt = _newPt;
36 }
37}
PointF oldPt
The previous position of the sprite before it was moved.
PointF newPt
The new position of the sprite after it was moved.
Represents a movable visual element on a scene layer.
Definition Sprite.cs:20