public class SeedUtil extends Object
Constructor and Description |
---|
SeedUtil() |
Modifier and Type | Method and Description |
---|---|
static JavaScriptObject |
defineSeed(int id,
int superSeed,
JavaScriptObject castableTypeMap)
If not already created, generates an anonymous function and assigns it a slot in the global
seedTable.
|
static JavaScriptObject |
newSeed(int id)
Lookup seed function by id and instantiate an object with it.
|
public static JavaScriptObject defineSeed(int id, int superSeed, JavaScriptObject castableTypeMap)
public static JavaScriptObject newSeed(int id)
Copyright © 2018. All rights reserved.