create() 공개 메소드

Override create() and initialize your game objects here
public create ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Call this to switch to a new state
 /// @use  FlxG.switchState(new NewState());
 /// </summary>
 /// <param name="State"></param>
 public static void switchState(FlxState State)
 {
     state.destroy();
     state = State;
     state.create();
 }
예제 #2
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();
 }