mirror of
https://github.com/photonstorm/phaser
synced 2025-01-06 18:28:52 +00:00
12 lines
151 B
JavaScript
12 lines
151 B
JavaScript
var Bounce = {
|
|
|
|
setBounce: function (value)
|
|
{
|
|
this.body.restitution = value;
|
|
|
|
return this;
|
|
}
|
|
|
|
};
|
|
|
|
module.exports = Bounce;
|