Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Code reuse and a question #59
Can reuse existing method logic instead of recreating them in inverse, and is there a reason that item.rect().width and item.rect().height is not taken into account for isRightOf and isBelow? ..... This question extends to forceInside?
So basically, the only reason I noticed the code reuse issue is that I was trying to understand why I had to adjust by the width of the sprite to check if the player was to the right of the viewport but not to the left... So my question is, feature or bug?