Make SDLx::Sprite use SDLx::Rect instead of SDL::Rect #159

Open
kthakore opened this Issue Jul 26, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Owner

kthakore commented Jul 26, 2011

Make SDLx::Sprite use SDLx::Rect instead of SDL::Rect to access SDLx::Rect methods via SDLx::Sprite->rect.

@ghost ghost assigned kthakore Jul 26, 2011

Owner

jtpalmer commented Jul 30, 2011

SDLx::Sprite->rect (and SDLx::Sprite->clip) use SDLx::Validate::rect. Do we need a SDLx::Validate::xrect (or something with a better name) to enforce this? Otherwise, there is no guarantee that a SDLx::Rect will be returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment