GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a new programmer calls check_for_collision instead of check_for_collision_with_list, the error generated is:
AttributeError: 'SpriteList' object has no attribute 'collision_radius'
That's not intuitive. Come up with a better error message.
Come up with a better error message for #149. Not as easy as just doi…
…ng type-checking because that causes a big performance hit. This seems to work ok.
Can't just be a better error message, has to perform well too.
Done and closed with release 1.2.3.