Stansbridge / untangled-2017

0 stars 0 forks source link

Consistently handle vectors #31

Open Hoolean opened 7 years ago

Hoolean commented 7 years ago

The project has three different ways to work with vectors:

It would be swell to introduce some consistency here, as at the moment it is a dice roll for which one is used at any given point in the code.

Although it would be nice to be able to make a fully-fledged utility class for dealing with vectors, one must bear in mind that pygame generally only accepts tuples to represent positions, unless they are coupled with sizes, in which case pygame often accepts the pygame.Rect object too, although the pygame.Rect object itself does not support floats, which is annoying in itself.

What are peoples' thoughts?