Jump to content

Creating new state


qdrj
 Share

Recommended Posts

Hi,

 

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

 Share

  • Recently Browsing   0 members

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