selfcarebot/node_modules/random/dist/generators/xor128.d.ts

13 lines
381 B
TypeScript
Raw Normal View History

2023-03-31 03:22:50 +00:00
import RNG from '../rng';
export default class RNGXOR128 extends RNG {
x: number;
y: number;
z: number;
w: number;
constructor(seed: number, opts?: Record<string, unknown>);
get name(): string;
next(): number;
seed(seed: number, opts?: Record<string, unknown>): void;
clone(seed: number, opts: Record<string, unknown>): RNGXOR128;
}