Axis-aligned bounding box (rectangle) More...
#include <collision.h>
Public Attributes | |
| u16 | height |
| u16 | width |
| s16 | x |
| s16 | y |
Axis-aligned bounding box (rectangle)
Represents a collision rectangle in screen coordinates. Origin is top-left corner.
| u16 Rect::height |
Height in pixels
| u16 Rect::width |
Width in pixels
| s16 Rect::x |
Left edge X coordinate
| s16 Rect::y |
Top edge Y coordinate