Jump to content

Creating new state


Recommended Posts



I would like to create new states with additional params. For example when I creating new Level I want to pass levelNumber like this

var level:Level = new Level(levelNumber);this.game.state.start(level);

How can i do this?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...