AristurtleDev / monogame-aseprite

A Cross Platform C# Library That Adds Support For Aseprite Files in MonoGame Projects.
https://monogameaseprite.net
MIT License
163 stars 14 forks source link

Add TryGetSlice() methods in TextureRegion #74

Closed fdrobidoux closed 1 year ago

fdrobidoux commented 1 year ago

These are simple shortcut methods which I needed for my own use, and I believe others could benefit from this.

AristurtleDev commented 1 year ago

Retargeting this PR so it targets develop and not main branch. main should only be targeted when a release is finished after going through a release branch.

AristurtleDev commented 1 year ago

Added XML documentation to new methods. Everything looks good otherwise, thanks @fdrobidoux for the contribution.