Reset() 공개 메소드

public Reset ( ) : void
리턴 void
예제 #1
0
    /**
     * Reset all values to default.
     */
    public static void Reset()
    {
        Speed        = 10f;
        PlatformSize = 4;
        SpawnMin     = 10f;
        SpawnMax     = 20f;
        CurrentState = GameState.PREGAME;
        Distance     = 0.0f;
        Ranking      = 0;

        UI.Reset();
        Spawner.Reset();
        Player.Reset();
    }