Exemplo n.º 1
0
 /// <summary>
 /// Call this to switch to a new state
 /// @use  FlxG.switchState(new NewState());
 /// </summary>
 /// <param name="State"></param>
 static public void switchState(FlxState State)
 {
     state.destroy();
     state = State;
     state.create();
 }