UNPKG

isaac-typescript-definitions

Version:

TypeScript definitions for The Binding of Isaac: Repentance.

10 lines (9 loc) 439 B
/** * Seed is an integer between 1 and 4294967295 (2^32 - 1). It is branded for extra type safety. * * In rare cases, the seed value can also be 0, which represents an uninitialized seed. For example, * this can happen if you run the `Seeds.GetStartSeed` method while in the main menu. * * If you set the seed of an RNG object to 0, it will cause the game to crash. */ declare type Seed = number & { readonly __seedBrand: symbol };