SkillManager()

Keeps track of registered skills

new SkillManager()

Methods

add(skill)

Parameters:
Name Type Description
skill Skill

find(search, includePassive) → {Skill}

Find executable skills

Parameters:
Name Type Default Description
search string
includePassive boolean false
Returns:
Skill

get(skill) → {Skill|undefined}

Parameters:
Name Type Description
skill string

Skill name

Returns:
Skill | undefined

remove(skill)

Parameters:
Name Type Description
skill Skill