Add SetLength

This commit is contained in:
Brian Buller 2024-06-20 09:39:02 -05:00
parent 9219b6bf74
commit 6a28279c6d

View File

@ -38,6 +38,10 @@ func (p *Passage) DisableChars(which int) {
p.valids ^= which p.valids ^= which
} }
func (p *Passage) SetLength(length int) {
p.length = length
}
func (p *Passage) GetValidChars() string { func (p *Passage) GetValidChars() string {
validChars := "" validChars := ""
if p.valids&UseLower == UseLower { if p.valids&UseLower == UseLower {