Closed DagemBefikadu closed 3 years ago
I have randomly spawned objects Im trying to get more of those
let objQuantity = [] const createLocation = () => { for(i= 0; i < 5; i++) { objQuantity.push({}) } }
Well Im calling my objects like this
let basketball = new spawnObjects('orange', 15, 15)
so i figured i could use that but i cant figure out how
I need to understand what you're problem is better, going to hyu for breakout room
What's the problem you're trying to solve?
I have randomly spawned objects Im trying to get more of those
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
What is your best guess as to the source of the problem?
Well Im calling my objects like this
so i figured i could use that but i cant figure out how
What things have you already tried to solve the problem?