v1.5.7.0 (Summer Update)
This commit is contained in:
@@ -99,6 +99,11 @@ namespace Barotrauma
|
||||
return Math.Max(Size.Y * Physics.DisplayToRealWorldRatio, Level.DefaultRealWorldCrushDepth);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Inclusive (matching the min an max values is accepted).
|
||||
/// </summary>
|
||||
public bool IsAllowedDifficulty(float minDifficulty, float maxDifficulty) => Difficulty >= minDifficulty && Difficulty <= maxDifficulty;
|
||||
|
||||
public LevelData(string seed, float difficulty, float sizeFactor, LevelGenerationParams generationParams, Biome biome)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user