Hey,
currently PySFML uses tuples for representing sf::Vector* objects. I discussed that with someone (pekuja) some weeks before (sorry for that, got less time
) and we came up with the idea to implement sf::Vector* classes in PySFML, too. There're mainly two reasons:
- Tuples are immutable, meaning you just can't change its elements. This is unfavorable because you often want to change only the x or y component of a vector without creating new tuples.
- Naming conventions would be better. Instead of pos[0] and pos[1] you'd have pos.x and pos.y
Open for comments.