mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Added names to random supply objects.
This commit is contained in:
parent
48464e49b8
commit
f853071d19
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
||||||
}
|
}
|
||||||
}());
|
}());
|
||||||
scope.persistent = {
|
scope.persistent = {
|
||||||
|
name: "persistent",
|
||||||
getRng: function(length, window){
|
getRng: function(length, window){
|
||||||
var bitSet = getPersistentRnd(window);
|
var bitSet = getPersistentRnd(window);
|
||||||
|
|
||||||
|
@ -88,6 +89,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
scope.constant = {
|
scope.constant = {
|
||||||
|
name: "constant",
|
||||||
getRng: function(length, window){
|
getRng: function(length, window){
|
||||||
return scope.nonPersistent.getRng(length, window);
|
return scope.nonPersistent.getRng(length, window);
|
||||||
},
|
},
|
||||||
|
@ -118,6 +120,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
scope.nonPersistent = {
|
scope.nonPersistent = {
|
||||||
|
name: "nonPersistent",
|
||||||
getRng: function(length, window){
|
getRng: function(length, window){
|
||||||
// Initialize the random number batch creation
|
// Initialize the random number batch creation
|
||||||
var randomI = 65536;
|
var randomI = 65536;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue