code is written in a state class
which of the following is the best pattern to move on.?
let image = this.add.image(x, y, key);
or
let image = this.game.add.image(x, y, key);
They’re identical, both add the new sprite to game.world
.
but why like that there should be some differentiation know ? any how thank you dude for your time.