Add SetLength
This commit is contained in:
parent
9219b6bf74
commit
6a28279c6d
@ -38,6 +38,10 @@ func (p *Passage) DisableChars(which int) {
|
||||
p.valids ^= which
|
||||
}
|
||||
|
||||
func (p *Passage) SetLength(length int) {
|
||||
p.length = length
|
||||
}
|
||||
|
||||
func (p *Passage) GetValidChars() string {
|
||||
validChars := ""
|
||||
if p.valids&UseLower == UseLower {
|
||||
|
Loading…
Reference in New Issue
Block a user