Sprite loading progress

This commit is contained in:
Matt Thorson
2020-05-27 20:29:45 -07:00
parent a2f5f157fc
commit 6bfc6c7721
4 changed files with 38 additions and 18 deletions

View File

@ -166,5 +166,10 @@ namespace Strawberry
{
return Rect(a.X * b.X, a.Y * b.Y, a.Width * b.X, a.Height * b.Y);
}
static public implicit operator SDL2.SDL.Rect(Rect r)
{
return SDL2.SDL.Rect((int32)r.X, (int32)r.Y, (int32)r.Width, (int32)r.Height);
}
}
}