Class DominionSetGeneratorAttributeData
Defined in: dominionSetGenerator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
DominionSetGeneratorAttributeData(min, max, minW, maxW, notes)
Creates a unit of DominionSetGeneratorAttributeData.
|
Class Detail
DominionSetGeneratorAttributeData(min, max, minW, maxW, notes)
Creates a unit of DominionSetGeneratorAttributeData.
A DominionSetGeneratorAttributeData is sort of like a 'parameter' for the
set picker. It has four numeric values, and a 'Notes' section.
- Parameters:
- {Number} min
- The 'minimum' threshhold: If this is undefined, we create an attribute with the default values of (0,0,1,1,'Unused').
- {Number} max
- The 'maximum' threshhold.
- {Number} minW
- Weight for the 'minimum' threshhold.
- {Number} maxW
- Weight for the 'maximum' threshhold.
- {String} notes
- The 'notes' section.