phaser/v3/src/geom/ellipse/Equals.js

12 lines
257 B
JavaScript
Raw Normal View History

2017-01-02 00:47:16 +00:00
var Equals = function (ellipse, toCompare)
{
return (
ellipse.x === toCompare.x &&
ellipse.y === toCompare.y &&
ellipse.width === toCompare.width &&
ellipse.height === toCompare.height
);
};
module.exports = Equals;