Add SetLength

This commit is contained in:
Brian Buller 2024-06-20 09:39:02 -05:00
parent 9219b6bf74
commit 6a28279c6d
1 changed files with 4 additions and 0 deletions

View File

@ -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 {