This commit is contained in:
@@ -47,6 +47,9 @@ public interface IRandom
|
||||
/// </summary>
|
||||
public bool GetBool();
|
||||
|
||||
/// <summary>
|
||||
/// Get a random element from the given list.
|
||||
/// </summary>
|
||||
public T OneOf<T>(IReadOnlyList<T> list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user