namespace Games.Common.Randomness; /// /// Provides access to a random number generator /// public interface IRandom { /// /// Gets a random such that 0 <= n < 1. /// /// The random number. float NextFloat(); /// /// Gets the returned by the previous call to . /// /// The previous random number. float PreviousFloat(); /// /// Reseeds the random number generator. /// /// The seed. void Reseed(int seed); }