[][src]Module umpire::name

Name generation for units and cities.

Structs

CompoundNamer

Generate names by deferring to two sub-namers and joining their output

CumWeight
IntNamer

A namer that names things after numbers, counting upward from zero. A prefix is prepended.

ListNamer

Generate names by drawing from a predefined list.

WeightedNamer

Generate names by sampling from a weighted distribution of names.

Traits

Named

Something that has a name

Namer

Something that generates names.

Functions

city_namer

The default city namer.

unit_namer

The default unit namer.