mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2026-10-19 13:59:23 +08:00
Aseprite loading fix. Draw.Sprite overload
This commit is contained in:
1 parent
67f0bf6e88
commit
8917d7f873
3 files changed
+22
-6
No files matched your search
@@ -55,6 +55,11 @@ namespace Strawberry
|
||||
return Point((int)a.X, (int)a.Y);
|
||||
}
|
||||
|
||||
static public implicit operator SDL2.SDL.Point(Point a)
|
||||
{
|
||||
return .((int32)a.X, (int32)a.Y);
|
||||
}
|
||||
|
||||
static public bool operator==(Point a, Point b)
|
||||
{
|
||||
return a.X == b.X && a.Y == b.Y;
|
||||
|
||||
Reference in new issue
Block a user