C# Class Dwarrowdelf.MarkovNameGenerator

Show file Open project: tomba/dwarrowdelf

Public Properties

Property Type Description
OrcNameSamples string[]

Public Methods

Method Description
GetNextName ( ) : string
MarkovNameGenerator ( IEnumerable sampleNames, int order, int minLength ) : System
Reset ( ) : void

Private Methods

Method Description
GetLetter ( string token ) : char

Method Details

GetNextName() public method

public GetNextName ( ) : string
return string

MarkovNameGenerator() public method

public MarkovNameGenerator ( IEnumerable sampleNames, int order, int minLength ) : System
sampleNames IEnumerable
order int
minLength int
return System

Reset() public method

public Reset ( ) : void
return void

Property Details

OrcNameSamples public static property

public static string[] OrcNameSamples
return string[]