We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally reported by: Daniel Pope (Bitbucket: lordmauve, GitHub: lordmauve)
Actor objects may have extra attributes. Rect objects, on the other hand, are C objects and therefore don't automatically have an instance dictionary.
We could include a pure Python Rect class that can have extra attributes assigned.
The text was updated successfully, but these errors were encountered:
Original comment by first last (Bitbucket: JustAMan, GitHub: JustAMan):
Cannot ZRect (from rect.py) be used for that? It is pure-Python object that can have extra attributes.
If having two rects is confusing it could be easily be monkey-patched so that "from pygame import Rect" actually yields ZRect class :)
Sorry, something went wrong.
Original comment by Daniel Pope (Bitbucket: lordmauve, GitHub: lordmauve):
New: thin Rect subclass te enable setting attributes on a Rect (closes #11)
No branches or pull requests
Originally reported by: Daniel Pope (Bitbucket: lordmauve, GitHub: lordmauve)
Actor objects may have extra attributes. Rect objects, on the other hand, are C objects and therefore don't automatically have an instance dictionary.
We could include a pure Python Rect class that can have extra attributes assigned.
The text was updated successfully, but these errors were encountered: