C# 클래스 Dwarrowdelf.MarkovNameGenerator

파일 보기 프로젝트 열기: tomba/dwarrowdelf

공개 프로퍼티들

프로퍼티 타입 설명
OrcNameSamples string[]

공개 메소드들

메소드 설명
GetNextName ( ) : string
MarkovNameGenerator ( IEnumerable sampleNames, int order, int minLength ) : System
Reset ( ) : void

비공개 메소드들

메소드 설명
GetLetter ( string token ) : char

메소드 상세

GetNextName() 공개 메소드

public GetNextName ( ) : string
리턴 string

MarkovNameGenerator() 공개 메소드

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

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

프로퍼티 상세

OrcNameSamples 공개적으로 정적으로 프로퍼티

public static string[] OrcNameSamples
리턴 string[]