Used internally for collisions and overlapping

interface Rectangle {
    height: number;
    width: number;
    x: number;
    y: number;
}

Properties

Properties

height: number

The height of the Rectangle

width: number

The width of the Rectangle

x: number

The X position of the Rectangle

y: number

The Y position of the Rectangle