export class Bounce { constructor() { this.distance = 200; } load(data) { if (!data) { return; } if (data.distance !== undefined) { this.distance = data.distance; } } }