hey
this 1 is easy but comes in handy to make sure for example that your fenggui gamestate is allways last
in com.jmex.game.state.GameStateNode
public void attachChild(int index, G state)
{
state.setParent(this);
children.add(index, state);
}