Style cleanup
This commit is contained in:
@@ -21,19 +21,19 @@ public interface IRandom
|
||||
/// <param name="max">The maximum value (exclusive).</param>
|
||||
/// <returns>A random integer that is greater than or equal to 0 and less than max.</returns>
|
||||
public int GetInt(int max);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get a random integer between 0 and <see cref="int.MaxValue"/>.
|
||||
/// </summary>
|
||||
/// <returns>A random integer that is greater than or equal to 0 and less than <see cref="int.MaxValue"/>.</returns>
|
||||
public int GetInt();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get a random float that is greater than or equal to 0.0 and less than 1.0.
|
||||
/// </summary>
|
||||
/// <returns>A random float that is greater than or equal to 0.0 and less than 1.0.</returns>
|
||||
public float GetFloat();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get a random float that is greater than or equal to min and less than max.
|
||||
/// </summary>
|
||||
@@ -41,7 +41,7 @@ public interface IRandom
|
||||
/// <param name="max">The maximum value (exclusive).</param>
|
||||
/// <returns>A random float that is greater than or equal to min and less than max.</returns>
|
||||
public float GetFloat(float min, float max);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get a random boolean. 50% chance of being true.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user