getRandom(max, min) { return Math.floor(Math.random() * (max - min) + min); } this.getRandom(10, -10);