Seed

A seed is the seed (tadaa) for all procedual generations inside the engine. It can be initialized with all types of input, always resulting in a long as representation. Also there is a fixed conversion into float/double and other types

Constructors

this
this(long s)

Constructs a Seed with a native uint as input

this
this(string s)

Construct from a input string. Now here things become interesting

Members

Properties

dSeed
double dSeed [@property getter]

returns the floating point represenatation of this seed

fSeed
float fSeed [@property getter]

returns the floating point represenatation of this seed

seed
long seed [@property getter]

gets the seed

seed
long seed [@property setter]

sets the seed

seed
string seed [@property setter]

sets the seed from string uses djb2 - http://www.cse.yorku.ca/~oz/hash.html

Meta