Race class abstract

An interface for races

Implementers

Constructors

Race()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAdjective() String
Returns the adjective of the race
getAgeGenerator(Gender gender) Generator<int>
Returns a generator for an age for a character from this race
getAlignmentGenerator() Generator<Alignment>
Returns a generator for an alignment for a character from this race
getBeardGenerator(Gender gender) Generator<Hair?>
Returns a generator for a beard for a character from this race
getBuildGenerator(Gender gender) Generator<String>
Returns a generator for a build for a character from this race
getEyesGenerator(Gender gender) Generator<String>
Returns a generator for eyes for a character from this race
getFaceGenerator(Gender gender) Generator<String>
Returns a generator for a face for a character from this race
getHairGenerator(Gender gender) Generator<Hair>
Returns a generator for an hairstyle for a character from this race
getHeightGenerator(Gender gender) Generator<int>
Returns a generator for a height for a character from this race
getName() String
Returns the name of the race
getNameGenerator(Gender gender) Generator<String>
Returns a generator that generates a name for a character from this race
getOpinionGenerator() Generator<String>
Returns a generator for opinions about the race
getPersonalityQuirkGenerator() Generator<String>
Returns a generator for a personality quirk for a character from this race
getPersonalityTraitGenerator() Generator<String>
Returns a generator for a personality trait for a character from this race
getPluralName() String
Returns the plural name of the race
getSkinGenerator(Gender gender) Generator<String>
Returns a generator for a skin for a character from this race
getSpecialFeatureGenerator(Gender gender) Generator<String>
Returns a generator for a special feature for a character from this race
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited