voxelotl-engine/Sources/Voxelotl/Random/RandomProvider.swift

9 lines
179 B
Swift

public protocol RandomProvider {
associatedtype Output: FixedWidthInteger
static var min: Output { get }
static var max: Output { get }
mutating func next() -> Output
}