Closed fwax closed 8 years ago
I don't see any optional arguments in the Phaser source. Is this correct behaviour?
Hi In JS, you can pass arguments to the start function when launching a state. You can then get then have them in the init of a state. Currently you can't do this with Haxe/phaser.
This behaviour is clearer in the source code.
@param {...*} parameter - Additional parameters that will be passed to the State.init function (if it has one).
Ok I'll take your word for it. Thanks! :)
Allow parameter in function init