playif / play_phaser

A Dart port for Phaser 2D game engine.
MIT License
71 stars 13 forks source link

Question - How to pass values into init function of a state? #27

Closed TheIceMageX50 closed 9 years ago

TheIceMageX50 commented 9 years ago

So I posted this on SO but I guess I have realised it's maybe a bit too localised for people there to care to give their time to help, my question is as the issue title says. My SO question is here: http://stackoverflow.com/questions/28264727/how-to-pass-values-to-phaser-dart-port-state-init-function

If you don't feel like reading the whole thing there is something of a TL;DR at the end...which explains the error I am running into which I understand the cause of but cannot solve.

TheIceMageX50 commented 9 years ago

Actually, never mind. It seems like someone has given me an acceptable solution on my SO post.