Rect: Refactor as an abstract type based on array.
Rect: Refactor as an abstract type based on array.

We now represent rectangles based on a 4 element array like this:

  [x, y, width, height]

That way we don't need the toString() method anymore as the resulting string
representation always is in the right order.

And of course this should speed up rectangle handling significantly if there are
a lot of sprite objects in the scene/surface.

Signed-off-by: aszlig <ee1aa092358634f9c53f01b5a783726c9e21b35a@redmoonstudios.org>

aszlig/hase