miniSphere
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
RNG
constructor
state
__@iterator
next
from
Seed
from
State
Hierarchy
RNG
Implements
Iterable
<
number
>
Index
Constructors
constructor
Properties
state
Methods
__@iterator
next
from
Seed
from
State
Constructors
constructor
new RNG
(
)
:
RNG
Returns
RNG
Properties
state
state
:
string
Methods
__@iterator
__@iterator
(
)
:
Iterator
<
number
>
Returns
Iterator
<
number
>
next
next
(
)
:
IteratorResult
<
number
>
Returns
IteratorResult
<
number
>
Static
from
Seed
from
Seed
(
seed
:
number
)
:
RNG
Parameters
seed:
number
Returns
RNG
Static
from
State
from
State
(
state
:
string
)
:
RNG
Parameters
state:
string
Returns
RNG
Generated using
TypeDoc