AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 288 forks source link

Added Rect properties. #625

Closed ghost closed 6 years ago

ghost commented 6 years ago

Added new Rect properties: Top, Bottom, Left, Right, as outlined in Issue #550 . Could not resolve NUnit missing reference in a timely manner, so created local tests.

ghost commented 6 years ago

Disregard this pull request. I forgot to handle the case where we have a negative width/height, and also a corresponding negative coordinate.