public class AttributeSetterEChar extends AttributeSetter<Character>
AttributeSetter| Constructor and Description |
|---|
AttributeSetterEChar(Random random)
Creates a new AttributeSetter for Char attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Character |
createNewAttribute()
Creates one attribute of type
E. |
Collection<Character> |
createNewAttributes(int maxAmount)
Creates a collection of attributes of type
E. |
getRandompublic AttributeSetterEChar(Random random)
random - Random object used to create attribute valuespublic Character createNewAttribute()
E.
The result is determined by random.createNewAttribute in class AttributeSetter<Character>public Collection<Character> createNewAttributes(int maxAmount)
E.
The result is determined by random.createNewAttributes in class AttributeSetter<Character>maxAmount - the maximum amount of attributes to createCopyright © 2017. All rights reserved.