コード例 #1
0
 // Applies the "Modern" settings template
 public static void applyModernSettings()
 {
     gameMode         = GameMode.MODERN;
     kick             = true;
     lockResetCap     = 15;
     lockDelay        = 0.5f;
     numPreviews      = 5;
     generationPolicy = Spawner.PieceGenerationPolicy.RANDOMBAG;
     holderActive     = true;
     scorePolicy      = Score.ScorePolicy.MODERN;
     showGhost        = true;
 }
コード例 #2
0
 // Applies the "Classic" settngs template
 public static void applyClassicSettings()
 {
     gameMode         = GameMode.CLASSIC;
     kick             = false;
     lockResetCap     = uint.MaxValue;
     lockDelay        = 0;
     numPreviews      = 1;
     generationPolicy = Spawner.PieceGenerationPolicy.REROLL;
     holderActive     = false;
     scorePolicy      = Score.ScorePolicy.CLASSIC;
     showGhost        = false;
 }