phaser/v3/src/physics/matter-js/components/Bounce.js

12 lines
151 B
JavaScript

var Bounce = {
setBounce: function (value)
{
this.body.restitution = value;
return this;
}
};
module.exports = Bounce;