Compares the x
, y
, width
and height
properties of two rectangles.
name | type | description |
---|---|---|
rect | Phaser.Geom.Rectangle |
Rectangle A |
toCompare | Phaser.Geom.Rectangle |
Rectangle B |
true
if the rectangles' properties are an exact match, otherwise false
.